Klik Gambar Untuk Lebih Jelas lagi
Kali ini tutorial memang agak menarik.Buku Tamu ini mempunyai kelainan sedikit iaitu kita letak sahaja cursor mouse kita pada gambar ia akan keluar sendiri.Macam automatiklah,zaman kan dah maju.
Langkah 1
1. Login ke Blogger, Klik Design :
3. Pilih HTML/Javascript;
Anda perlu copy kode dibawah ini kedalam Widget.
<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://sites.google.com/site/jeritanblog/javascript/Chatting.png') no-repeat;
}
.gbcontent {
float:left;
border:1px solid #BB0000;
-moz-border-radius-bottomleft:10px;
-webkit-border-radius-bottomleft:10px;
-o-border-radius-bottomleft:10px;
-khtml-border-radius-bottomleft:10px;
-moz-border-radius-topright: 10px;
-moz-border-radius-topleft: 10px;
background: #000000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCZDeMuQn74gD6n9JXWsShFUtkW48QtquFb98UXr9JMhL-vmrPHh7tFl3a_sG7ta1SP9V2Y6HcAAsY-Ct1NwlQVB8ghTOkugCT6beDY1i7KEDy4u38VS8nsATxtuwQrHofq8nkyAO3X4tN/s1600/api.gif) 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>
Letakan Script Buku tamu anda Disini
<br />
<div style="text-align:center">
<a onclick="showHideGB()" class="tips-fade" title="klik untuk tutup chattingbox">
<center><hr /><img src="https://sites.google.com/site/jeritanblog/javascript/CloseComment-1.png" /><hr /></center>
</a>
</div>
</center></div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (50-gb.offsetWidth).toString() + "px";
</script></div>
Akhir sekali,semoga berjaya ^_^
10 Ulasan
hehehe... da jd la.. thnks
BalasPadamsalam..
BalasPadamwahh..menarik ni
boleh lah cuba nanti
:)
TQ
@.:pRincEsS CinDeReLLa:. welcome
BalasPadam@zulkbowaalikumussalam..
BalasPadamboleh cuba..
welcome
cam ne nak dapat kan script buku tu ?? kurang pahaam :))
BalasPadam@mira sahajemestilah kod shoutmix
BalasPadamscript buku lme tu ltk kt mane?? x phm :DD
BalasPadam@i.t.a.h.
BalasPadamambik kode lama tu tukar dengan Letakan Script Buku tamu anda Disini
masukan kode buku tamu anda di sini
BalasPadamKk Kalu Itu Maksud Nya Ap............
@Irvan Cheater
BalasPadamkode buku tamu shoutmix.com