Cara buat buku tamu show hide ini saya dapatkan dari blog rekan http://www.uttafreak-987.co.cc/
Saya Hanya Ingin share aja... Mungkin ada yang berminat silahkan ikuti langkah2 dibawah..
Langsung Saja
1. Login Ke Akun Blog Sobat
2. Pilih Rancangan/Tata Letak
3. Tambah Gadget/Add Gadget Pilih HTML JAVA SCRIPT
4. Masukan Script Berikut Di dalamnya
<style type="text/css">
#at{
position:fixed;
right:450px;
z-index:+1000;
}
* html #at{position:relative;}
.attab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url(URL);
}
.atcontent{
float:left;
border:2px solid #7FFF00;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPxEJDkM_kEUklMY5Z5zqJ5YXiV-ERUprdPcvNRnzOziV9kzvjuBXbtybUkVG1v5WCjH_jmLJC1o4v4JF5mtqHAWVzZ7KiAlsxbnPjjYpwb4rr7XbJZFmOey0pOv6wrE0dPt1Fr3NnqZXG/)#000000 repeat-x bottom center scroll;
-moz-border-radius-topleft:10px;
-moz-border-radius-topright:10px;
-moz-border-radius-bottomleft:10px;
-moz-border-radius-bottomright:10px;
padding:10px;
}
.atcontent:hover{
border:2px solid #fff;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPxEJDkM_kEUklMY5Z5zqJ5YXiV-ERUprdPcvNRnzOziV9kzvjuBXbtybUkVG1v5WCjH_jmLJC1o4v4JF5mtqHAWVzZ7KiAlsxbnPjjYpwb4rr7XbJZFmOey0pOv6wrE0dPt1Fr3NnqZXG/)#000000 repeat-x bottom center scroll;
}
</style>
<script type="text/javascript">
function showHideAT(){
var at = document.getElementById("at");
var w = at.offsetWidth;
at.opened ? moveAT(0, -200-w) : moveAT(20-w, 0);
at.opened = !at.opened;
}
function moveAT(x0, xf){
var at = document.getElementById("at");
var dx = Math.abs(x0-xf) > 25 ? 35 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
at.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveAT("+x+", "+xf+")", 10);}
}
</script>
<div id="at">
<div class="attab" onclick="showHideAT()"> </div>
<div class="atcontent">
<div align="center">
<div style="background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOjaNUaxM3gW-ZgzNKC9WInMdO9X6zFZfgdOU2whxMUUIs9a31VntaUDCwDSA-LKj9-22Oz9TNavkSXwzjI7Cb7oerxUx_yewkiHY2bqjE1algmR1Yg2yE2SO1egcJtTogtm58VBXhHEGZ/) no-repeat;">
--> Kode Cbox Disini <--
</div>
</div>
<br />
<div align="right"><a href="javascript:void(0);" onclick="showHideAT()"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNxccz314edNafiagXg3KDqCWw_tpECNb_dGVLYHcr_E4617fhDABhsYEZXLgi-_6ZHRoMDZr_pIOEC8TOLXR2kn9xlHlygI8RMyyMFuOhN8J9mL5KzLg3eexX3sXZMgpQ7FITCnMzzJmE/" alt="close" title="Click here to Close Cbox" /></a></div>
<div align="left"><font size="2"><a href="http://www.uttafreak-987.co.cc/2011/04/cara-membuat-buku-tamu-blog-showhide-di.html"target=_blank"><div style="color: #444444;">
<span style="font-size: xx-small;">By Fikry Arpendos</span></div></a></font></div>
</div></div>
<center><a href="javascript:void(0);"onclick="showHideAT()"/><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsL0WY3xLc-4_4KEtVgUtFSsuycnbEvwwESMT8CDkvg9aMQODONiLzC1itxJRKUK2FMxiiMYO19s8JwxsNUPyJsNm9HNUorP1B-UVQ3lfmaqVI8GSZNd5Rvf1kvat-eoYZgW0lGhacMM3a/" alt="cbox" title="Click here to open Guest Book" /></a></center>
<script type="text/javascript">
var at = document.getElementById("at");
at.style.top = (-200-at.offsetWidth).toString() + "px";
</script>
5. Save...
Note ::
- Yang berwarna Hijau adalah URL background kembang api dan kode warna backgroundnya (*Background dapat diganti sesuai selera sobat)
- Yang Berwarna Biru adalah background cbox.
- Tang berwarna Merah ganti dengan kode Cbox.
- Dan yang berwarna Pink adalah URL icon tombol.
nice info,, kep posting,,, www.trikblogspot.com
BalasHapuskerenn..
BalasHapusinfo: slmt gan , agan dpt awrd dr sya..
makasih kaks..
BalasHapus