Home » » Cara Membuat Buku Tamu Blog Show/Hide di Bagian Atas

Cara Membuat Buku Tamu Blog Show/Hide di Bagian Atas



 

Caranya adalah sebagai berikut :

1. Login ke akun Blog anda.
2. Pilih Rancangan, Add Gadget kemudian klik HTML/Java Script.
3. Copy Paste script di bawah ini ke dalam gadget HTML/Java Script anda.
<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/AVvXsEg4qVx1lrQw2M5KLOpiL6n332n07sDyCSSEwJESj-jmR5SZxfIAJFYgtt6gQns-CD-MiV2aH0R2tNS5UFEetpGrDNfOnKXkP9AW2WE2yCgTeuVXr3zjxRXl7FIQ7qP3I8toD6Om-jUO9F3w/)#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/AVvXsEg4qVx1lrQw2M5KLOpiL6n332n07sDyCSSEwJESj-jmR5SZxfIAJFYgtt6gQns-CD-MiV2aH0R2tNS5UFEetpGrDNfOnKXkP9AW2WE2yCgTeuVXr3zjxRXl7FIQ7qP3I8toD6Om-jUO9F3w/)#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(http://i53.tinypic.com/oiu4n9.gif) no-repeat;">

--> Kode Cbox Disini <--

</div>
</div>

<br />
<div align="right"><a href="javascript:void(0);" onclick="showHideAT()"><img border="0" src="http://i859.photobucket.com/albums/ab159/yudhizh/ButtonCloseWhite-BlackStroke.png" alt="close" title="Click here to Close Cbox" /></a></div>
<div align="left"><font size="2"><a href="http://www.3xploration.co.cc/"target=_blank"><div style="color: #444444;">
<span style="font-size: xx-small;">xXx</span></div></a></font></div>
</div></div>

<center><a href="javascript:void(0);"onclick="showHideAT()"/><img border="0" src="http://i54.tinypic.com/ztj9zl.png" 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>
NB:
► Yang berwarna hijau adalah URL background kembang api dan kode warna backgroundnya (*Background dapat diganti sesuai selera anda)
► Yang Berwarna biru adalah background cbox.
► Tang berwarna merah ganti dengan kode Cbox.
► Dan yangberwarna orange adalah URL icon tombol.

4. Save
♂ Good Luck ♀

Semua ini adalah apa yang pernah aku cobain sendiri . . dan aku dapat/mengerti dari teman2 blogger lainnya karena aku hanya seorang blogger pemula yang ingin mengetahui lebih banyak hal lagi . . . . Thank's
Share
Related Post

0 comments:

Archives

Label


ShoutMix chat widget
Guest Book
 

Subscribe Via Email

Enter your email address:

Delivered by FeedBurner

My Blog

Show

Exploration


Show

[Valid Atom 1.0]
Google PageRank Checker Powered by  MyPagerank.Net

Powered by FeedBurner

SEO Stats powered by MyPagerank.Net

Show

Show

Exploration

Welcome To My Blog

I hope you find what you're looking for here . . Thank you for visit to my simple blog . .

Rizky Maulana

This life is a sacrifice and struggle . . and I am just a man who wants to be better than ever . .