Buku tamu Show Hide dari atas

Minggu, 08 Mei 20110 komentar

 
Weis .... ini dia...
Buku Tamu kalo di klik widget nya Guest Book-nya akan turun dari atas.
Bagaimana sih cara membuatnya?
Cara membuatnya :
  1. Login blogger
  2. Rancangan, Tambah GadgetHtml/java script
  3. Dan Simpan kode berikut  :
<style type="text/css">
#at{
position:fixed;
right:450px;
z-index:+1000;
}
* html #at{position:relative;}
.attab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url();
}
.atcontent{
float:left;
border:2px solid #999;
background: #000;
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
padding:10px;
-moz-box-shadow: 0px 2px 5px 0px #f8f9b9;
}
</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:#000;">


<!-- Begin ShoutMix - http://www.shoutmix.com -->
<iframe title="cikukun" src="http://www5.shoutmix.com/?cikukun" width="250" height="300" frameborder="0" scrolling="auto">
<a href="http://www5.shoutmix.com/?cikukun">View shoutbox</a>
</iframe>
<br /><a href="http://www.shoutmix.com" title="Get your own free shoutbox chat widget at ShoutMix!">ShoutMix chat widget</a><br />
<!-- End ShoutMix -->


</div>
</div>

<br />
<div align="right"><a href="javascript:void(0);" onclick="showHideAT()"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyZZ-WAb9BzkeKdi6Yjiyy4s9fylwEXRcHcGm0T3UYhE6jLfo35ysAgfd-j06HJKUs8jmi_87XeJ_czEN04yQd95Mi6_efvMUxB8BpUYu0JvXRTY-9vk8VTWnyTBCCre5f134pbluC8Pk/s1600/CLOSE.png" alt="close" title="Click here to Close Cbox" /></a></div>

</div></div>


<script type="text/javascript">
var at = document.getElementById("at");
at.style.top = (-200-at.offsetWidth).toString() + "px";
</script>

<center><a href="javascript:void(0);"onclick="showHideAT()"/><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPLWriT2_XMQnZ56-nXzZ6Upl-cIDdlvkVxzKoWIDchyphenhyphenvxX8ihE221t8drqSB8O-FxJ890E49FJ-kAvz_VPA7rYCJ5aJeWXgDbjDNgNHfqqLW6dbKp1kzqv-dKI2GuXTikgteCTA_mOyo/s1600/guestbook.png" alt="cbox" title="Click here to open Guest Book" /></a></center>


Penempatannya silahkan sesuaikan dengan keinginan / kesukaan anda
Perhatian Kode yang berwarna merah adalah kode Buku tamu anda setelah anda regestrasi ke ShoutMix - http://www.shoutmix.com   ........... Jelass.....
sudah................ simpan ....... 

semoga bermanfaat!

Share this article :

Posting Komentar

 
Template ini : Dimodifikasi Oleh Basuki Rakhmat | BLOGnya Basuki
Terima kasih pada Mas Johny | SayaDownloas Templatenya
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger