468x60 Ads

Cara Membuat Buku Tamu Blog Show/Hide di Bagian Atas

saya persembahkan postingan ini untuk memberikan kemudahan pada sobat dalam membuat Show/hide cbox pada posisi atas

1. Login Ke Akun Blog Sobat
2. Pilih Rancangan/Tata Letak
3. Tambah Gadget/Add Gadget Pilih HTML JAVA SCRIPT
4. Masukan Script Berikut Di dalamnya
<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(URL);}.atcontent{float:left;border:2px solid #7FFF00;background:url(http://ladangit.files.wordpress.com/2011/04/matrixt.gif)#000000 repeat-x bottom center scroll;-moz-border-radius-topleft:10px;-moz-border-radius-topright:10px;-moz-border-radius-bottomleft:10px;-moz-border-radius-bottomright:10px;padding:10px;}.atcontent:hover{border:2px solid #fff;background:url(http://ladangit.files.wordpress.com/2011/04/matrixt.gif)#000000 repeat-x bottom center scroll;}</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(http://i53.tinypic.com/oiu4n9.gif) no-repeat;">
--> Kode Cbox Disini <--
</div></div>
<br /><div align="right"><a href="javascript:void(0);" onclick="showHideAT()"><img border="0" src="http://i859.photobucket.com/albums/ab159/yudhizh/ButtonCloseWhite-BlackStroke.png" alt="close" title="Click here to Close Cbox" /></a></div><div align="left"><font size="2"><a href="http://blogcunayz.blogspot.com/2011/06/cara-membuat-buku-tamu-blog-showhide-di.html"target=_blank"><div style="color: #444444;"><span style="font-size: xx-small;">By Rizky Wardiansyah</span></div></a></font></div></div></div>
<center><a href="javascript:void(0);"onclick="showHideAT()"/><img border="0" src="http://i54.tinypic.com/ztj9zl.png" alt="cbox" title="Click here to open Guest Book" /></a></center>
<script type="text/javascript">var at = document.getElementById("at");at.style.top = (-200-at.offsetWidth).toString() + "px";</script>
5. Save...

Note ::
- Yang berwarna hijau adalah URL background kembang api dan kode warna backgroundnya (*Background dapat diganti sesuai selera sobat)
- Yang Berwarna biru adalah background cbox.
- Tang berwarna merah ganti dengan kode Cbox.
- Dan yangberwarna orange adalah URL icon tombol.


0 komentar:

Posting Komentar