Cara Menyembunyikan Widget Buku Tamu

Kali ini saya akan memberitaukan cara menyembunyikan Guest Book.
1. Login ke Blogger.
2. Tata Letak, Element Halaman
3. Tambah Gadget HTML/JavaScript
4. Paste scipt d bawah ini dan jangan di beri judul/title:

<!– Mulai Rolling Widget –>
<style type=”text/css”>
#gb{
position:fixed;
top:0px; /*jarak dari atas*/
z-index:+1000;
}
* html #gb{position:relative;}

.gbtab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:none;
}
.gbcontent{
float:left;
border:2px solid #888888; /*warna bingkai*/
background:#F0F0F0; /*warna latar*/
padding:5px 10px 0px 10px;
}
</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”>
<div style=”text-align:center;”><a href=”javascript:showHideGB()” title=”Close/Tutup”><img style=”border:0px; width:100px; height:auto;” alt=”Guestbook” src=”http://s563.photobucket.com/albums/ss76/peace_enes/SC/guestbook.gif” /></a></div>

Kode Shoutbox atau Buku Tamu Sobat

<script type=”text/javascript” src=”http://dpocforguest.googlecode.com/files/rollingwidget2.js”></script>
</div></div>
<!– Selesai Rolling Widget –>

5.Setelah d copi lalu save

6. Tambah Gadget Html/Javacript di mana saja
7. Copi sript di bawah ini

<a href=”javascript:showHideGB()”><img src=”http://farm4.static.flickr.com/3365/4609615999_1186a2fa26_o.jpg” width=”125″ height=”38″ alt=”guestbook” /></a>

8. save

Mudah kan? Selamat mencoba

Rahmat Burhanudin

Sharing is caring. Ada pertanyaan? silahkan komentar atau email ke rahmat@mamat.co

One thought on “Cara Menyembunyikan Widget Buku Tamu

Leave a Reply

Your email address will not be published. Required fields are marked *