Tutorial : Slide Follow Box (With No Background)

salam w.b.t

slide follow box 2 kalo korg click stu icon, 
nnti follow box show.
mean this is hide and show larh.

Step 1 :
Sign In Blogger > Dashboard > Design > Page Elements > Add A Gadget > HTML/JavaScript


Step 2 :
Copy kod niey, pastekn kat HTML/JavaScript tu.
<style type="text/css">#at{position:fixed;
left:90px;
z-index:+1000;
}
* html #at{position:relative;}
.attab{
height:90px;
width:30px;
float:left;
cursor:pointer;
background:url();
}
.atcontent{
float:left;
</style>
<script type="text/javascript">
function showHideAT(){
var at = document.getElementById("at");
var w = at.offsetWidth;
at.opened ? moveAT(0, -200-w) : moveAT(20-w, 0);
at.opened = !at.opened;
}
function moveAT(x0, xf){
var at = document.getElementById("at");
var dx = Math.abs(x0-xf) > 25 ? 35 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
at.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveAT("+x+", "+xf+")", 10);}
}
</script>
<div id="at">
<div class="attab" onclick="showHideAT()"> </div>
<div class="atcontent">
<div align="center">
<div style="background:url()#transparent no-repeat;">
<div style="text-align: center;">
CODE GOOGLE FRIEND CONNECT

<div align="right"><a href="javascript:void(0);" onclick="showHideAT()">FINS</a></div>
<br /></div></div>
</div></div>
<script type="text/javascript">
var at = document.getElementById("at");
at.style.top = (-200-at.offsetWidth).toString() + "px";
</script>
<style type='text/css'>
a.linkopacity img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;F
opacity: 0.5;
-khtml-opacity: 0.5;}
a.linkopacity:hover img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0; }
</style>
<div style='display:scroll; position:fixed; top:10px; left:5px;'>
<a href="javascript:void(0);"onclick="showHideAT()"/><img src="URL ICON ANDA" alt="PUSH" title="KLIK ME" /></a>
</div></div>
ATTENTION

Merah: Untuk word yg akn kluar kalo korg hoverkn kat icon
Biru: Untuk url icon
Hijau: Code Follow Box


 

Comments

Post a Comment

You are free to speak, but please own up to it :)