2. ke tata letak
3. add widget
4. pilih "HTML / Javascript"
5. paste-kan kode ini di sana
<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/AVvXsEjzlyP06eGkVaCbvZ1nS-y_Yqt9XOI7WFQIaAZ4rmFQdCGYE_-XgFbL4vxy9HZER9-iTY77zEYlkK-ol59fMc9vlOJBbynI1Pk_yl1AnUIKCwL_k-EoWUpDVoeaZxwbCd6v6HY2u3OHNAcr/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"> Makukan Kode Buku Tamu <br/>?Cara Buat Buku Tamu Di
Blog<br/>KLIK DI SINI !<a
href="http://rahmatsahrudin96.blogspot.com/2013/09/cara-membuat-buku-tamu-di-blog.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>
Kamu bisa daftar membuat buku tamu (CBOX.ws) disini nanti ambil code nya. dan dicopy kan di bagian warna MERAH...
0 komentar:
Posting Komentar