Cara Buat "Buku Tamu" di Blog

Rabu, 02 Juni 2010

 
Karena banyak yang meminta dan juga karena saya baik hati saya akan memberi tau cara menambahkan Buku Tamu ( Shoutmix ) di Sidebar blog kamu .. Dan karena saya tidak pintar berbasa-basi, lebih baik langsung saja :

1. Pastikan kamu sudah mempunyai akun di Shoutmix ..
2. Kalau sudah, masuklah ke Akun Blog kamu ..
3. Klik Tata Letak > Tambah Gadget > HTML/JavaScript.
4. Copy Kode berikut :
 

<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}


.gbtab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url('http://lh4.ggpht.com/_jn57XA2jLxY/SmCHl1YEsxI/AAAAAAAAAXQ/HshHClEVcvY/tabs.png') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #A5BD51;
background:#F5F5F5;
padding: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">


<!-- Begin ShoutMix - http://www.shoutmix.com -->
<iframe scrolling="auto" width="270" frameborder="0" src="http://www5.shoutmix.com/?muhalvin21" height="350" title="muhalvin21">
<a href="http://www6.shoutmix.com/?muhalvin21">View shoutbox</a>
</iframe>

<br />
<br />
<a href="http://muhalz.blogspot.com" onblur="try {parent.deselectbloggerimagegracefully();} catch(e) {}"><img border="0" style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 92px; height: 50px;" alt="" src="http://kaskus.us/images/smilies/recseller.gif" /></a> <br />


<span style="font-family: monospace; white-space: pre-wrap; " class="Apple-style-span"><b><span style="color:#FF0000;" class="Apple-style-span"><span style="font-size: large;" class="Apple-style-span"><a href="http://muhalz.blogspot.com/">Baru Belajar&copy;</a> </span></span></b></span>


<!-- End ShoutMix -->


<div style="text-align:right">
<a href="javascript:showHideGB()">
[tutup]
</a>
</div>


</div>


</div>


<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (30-gb.offsetWidth).toString() + "px";
</script>

5. Ganti kata muhalvin21 dengan nick kamu di Shoutmix,
6. Simpan. 

Writer, Muhammad Alvin Zuhri

Print This Page
Related Posts with Thumbnails



Baru Belajar©