Cara Mudah Membuat Buku Tamu Tersembunyi / Auto Hide di Blogger.

Bookmark and Share

Cara membuat buku tamu tersembunyi / auto hide di blogger.
  • Login ke blogger
  • Pilih Tata Letak => Tambah Gadget => Html/javascript
  • Masukkan kode berikut kedalam Html/javascript
  • Kemudian Masukan kode dibawah ini ke dalam HTML/Javascript



<style type="text/css">
#gb{
position:fixed;
top:20px;
z-index:+1000;
}* html #gb{position:relative;}
.gbtab{
height:150px;
width:50px;
float:left;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLucnMXSgclCFThAqskEy6cgs0c8lmoj4E6sTUjFGBYcA18Bo2XWT3WmaPdkQWAqegQhwtH9c827V5MSqx141LuUyXgEglslIgOPLkIQb2lmOMCDQeufjBtgirYeZFj30TCpoF4tzswGo/s1600/buku+tamu.png') no-repeat;
}
.gbcontent {
float:left;
border:1px solid #000000;
-moz-border-radius-bottomleft:5px;
-webkit-border-radius-bottomleft:5px;
-o-border-radius-bottomleft:5px;
-khtml-border-radius-bottomleft:5px;
-moz-border-radius-topright: 5px;
-moz-border-radius-topleft: 5px;
background: #F2F2F2; url() no-repeat bottom;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 51-w) : moveGB(30-w, 0);
gb.opened = !gb.opened;
}function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 25 ? 25 : 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+")", 5);}
}</script>
<div id="gb">
<div class="gbtab" onmouseover="showHideGB()"> </div>
<div class="gbcontent">
<center>
Letakkan kode script buku tamu disini
<br />
<div style="text-align:center">
<span style="float:right; color:#000000;">Get this <a target="_blank"href="http://idegemilang.blogspot.com/2013/06/cara-mudah-membuat-buku-tamu.html"> widget </a></span>
</div>
</center></div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (50-gb.offsetWidth).toString() + "px";
</script>
</div>




Keterangan :
Silahkan anda ubah teks warna merah dengan kode buku tamu anda

Demikian artikel mengenai  Cara Mudah Membuat Buku Tamu Tersembunyi / Auto Hide di Blogger

{ 0 komentar... Views All / Send Comment! }

Posting Komentar