Wednesday, June 8, 2011

Membuat buku tamu tersembunyi


Cara sukses tanpa MODAL 100% GRATIS!! Cara sukses tanpa MODAL 100% GRATIS!!
Kawan kali ini saya akan sharekan bagaimana cara membuat buku tamu tersembunyi seperti diblog saya ini. Caranya gimana ya,,? (sabar dulu..)

ikuti langkah di bawah ini :
  • Loggin terlebih dahulu pada blogspot
  • Klik Rancangan > Elemen Laman > Tambah Gadget > HTML/JavaScript
  • Lalu kopas Script d bawah ini 
<style type="text/css">
#at{
position:fixed;
right:600px;
z-index:+1000;
}
* html #at{position:relative;}
.attab{
height:100px;
width:100px;
float:left;
cursor:pointer;
background:url();
}
.atcontent{
float:left;
border:2px solid #ff0000;
background:url(http://lh5.ggpht.com/_yF0--u7KSSI/TKgzluISmnI/AAAAAAAAAxE/PC55GBEXvig/kembangApi.gif) #000000 repeat-y center;
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideAT(){
var at = document.getElementById("at");
var w = at.offsetWidth;
at.opened ? moveAT(0, -200-w) : moveAT(50-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://lh4.ggpht.com/_yF0--u7KSSI/TKYaaJhxVdI/AAAAAAAAAvY/nBUewsjG-Ck/bg-cbox.jpg) no-repeat;">


Pasang Buku Tamu Disini

</div>
</div>

<br />
<div align="right"><a href="javascript:void(0);" onclick="showHideAT()"><img border="0" src="http://lh4.ggpht.com/_yF0--u7KSSI/TKAy32pYhuI/AAAAAAAAArM/68dgmHYFy8M/close.png" alt="close" title="Click here to Close Cbox" /></a></div>
<div align="left"><font size="2"><a http://exeloph.blogspot.com/2010/10/showhide-cbox-pada-posisi-atas.html"target=_blank"><div style="color: #444444;">
<span >By enda fiVers</span></div></a></font></div>
</div></div>


<script type="text/javascript">
var at = document.getElementById("at");
at.style.top = (-200-at.offsetWidth).toString() + "px";
</script>

  • Save
  • Tambah Gadget lagi untuk tombol yang digunakan mengeluarkan buku tamunya
  • Kopas script di bawah ini

<center><a href="javascript:void(0);"onclick="showHideAT()"/><img border="0" src="http://lh5.ggpht.com/_yF0--u7KSSI/TKAS0Ee4NLI/AAAAAAAAAq0/HLbB4jGuFxk/GuestBook.png" alt="cbox" title="Click here to open Guest Book" /></a></center>

  • Save
Sudah jadi kawan, untuk background pada tempat buku tamu atau tombolnya dapat diganti sendiri (sudah saya tanda dengan warna Merah).

Semoga bermanfaat kawan...

16 komentar

 
BlogThietKe
© 2013 Utuy-semrawut | Designed by BlogThietKe Cooperated with Duy Pham
Comments RSS | Back to top