Cara Membuat Buku Tamu Berada Di Sebelah Kanan Blog




Cara membuat widget buku tamu melayang itu mudah sobat. Selain itu bisa menghemat tempat.
langsung aja deh berikut caranya :

1. Jika sobat belum memiliki shoutbox. Silahkan dapatkan di CBOX.com atau FIBOX.com.
2. Setelah sobat mendapatkan kode HTML, kini sobat tinggal masukan ke :
 +++++
<style type="text/css"> #gb{ position:fixed; top:50px; z-index:+1000; } * html #gb{position:relative;} .gbtab{ height:150px; width:30px; float:left; cursor:pointer; background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNxHSegPLquTxMgWx-i-c63H3ydVix_8cTXxCUPyEGrngUnFBaJojoId2W_eoqGMChEXjoQUpiAfpOY55Uc_e4Q8hOoNXxyOnFQHRidjz8VhX4jqYIxPKbrAQ42cQCt90f0991fzk78hvZ/s1600/bukutamu.png') no-repeat; } .gbcontent{ float:left; border:1px solid #B3B3B3; background:#E6E6E6; padding:5px; } </style> <script type="text/javascript"> function showHideGB(){ var gb = document.getElementById("gb"); var w = gb.offsetWidth; gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0); gb.opened = !gb.opened; } function moveGB(x0, xf){ var gb = document.getElementById("gb"); var dx = Math.abs(x0-xf) > 10 ? 5 : 1; var dir = xf>x0 ? 1 : -1; var x = x0 + dx * dir; gb.style.right = x.toString() + "px"; if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);} } </script> <div id="gb"> <div class="gbtab" onclick="showHideGB()"> </div> <div class="gbcontent">
Copy Paste kode cbox / fibox disini !
br/>Mau buat buku tamu ini ?<br/>Klik <a href="http://oifans.blogspot.com/2012/05/cara-membuat-buku-tamu-berada-di.html"target="_blank"> di sini </a> <div style="text-align:right"> <a href="javascript:showHideGB()"> [hide] </a> </div> </div> </div> <script type="text/javascript"> var gb = document.getElementById("gb"); gb.style.right = (30-gb.offsetWidth).toString() + "px"; </script>
+++++++

3. Masuk ke BLOGGER.com >> Tambah Gadget >> HTML/ Java Script >> Copy kan kode di atas lalu klik save .
4. Lihat hasilnya di blog sobat.


 

Categories

Recent Comments

Mau buat buku tamu ini ?
Klik di sini

280 Px

280 Px

Popular Posts

Return to top of page Copyright © 2010 | Read And Share Converted into Blogger Template by HackTutors