Subscribe:

Ads 468x60px

.

menu

Saturday, July 21, 2012

cara cepat memasang gadget buku tamu di blog

pertama masuk ke blog sobat, kedua klik desain, ketiga klik tata letak kemudian tambah gadget terus klik HTML/javascript trus copy kode ini

<form action="http://www.google.com/search"
method="get"> <input class="textinput" name="q" size="30" type="text"/> <input value="search" class="buttonsubmit" name="submit" type="submit"/></form>
<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/AVvXsEgGrIuim6PtL6zqLOgUSQ3OvbtmgYjtsAzezC7i3FzwoUucgpFK6sB4jxVqdVs2gQ4bjsNb-sURk44-wzxTHmC90Zf-ET4v8EePi6sAaeapXE8pfP4TTlFgdkxW9kwBjYFFSMPalor0XpAi/s1600/buku+tamu.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"> 
disini masukin kode html cbox kamu <a href="javascript:showHideGB()"> [hide] </a> </div> </div>
klik save
udah deh
selamat mencoba dan semoga berhasil
lok blum puny akun cbox daftar disini aja

2 komentar: