Copy Paste kode berikut ke rancangan >> Elemen Laman >> Tambah Gadget >> HTML/Java Script
<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSa81lXD-jlQBTXKAzf_AWNZDZfUurkq6Qmoc_m2hlADEQuqeouiS0L05RxbOs92CJ-Karu0p4PehuP_T-PA3BnvFQjQ9p8zeZVz2so3ND6_GAWCRWWad-1j5oki9Dq22fNIeiRVPrl83W/') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #A5BD51;
background:#F5F5F5;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 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+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()"> </div>
<div class="gbcontent">
<div style="text-align:right">
<a href="javascript:showHideGB()">
[tutup]
</a>
</div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (30-gb.offsetWidth).toString() + "px";
</script></div>
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSa81lXD-jlQBTXKAzf_AWNZDZfUurkq6Qmoc_m2hlADEQuqeouiS0L05RxbOs92CJ-Karu0p4PehuP_T-PA3BnvFQjQ9p8zeZVz2so3ND6_GAWCRWWad-1j5oki9Dq22fNIeiRVPrl83W/') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #A5BD51;
background:#F5F5F5;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 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+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()"> </div>
<div class="gbcontent">
Masukkan kode Shoutbox kawan-kawan ku disini
<div style="text-align:right">
<a href="javascript:showHideGB()">
[tutup]
</a>
</div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (30-gb.offsetWidth).toString() + "px";
</script></div>
Ganti tulisan yang berwarna hijau dengan script kode widget yang akan anda pasang
Ganti tulisan yang berwarna merah dengan url image. Untuk ini saya akan merekomendasikan beberapa gambar berikut:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSa81lXD-jlQBTXKAzf_AWNZDZfUurkq6Qmoc_m2hlADEQuqeouiS0L05RxbOs92CJ-Karu0p4PehuP_T-PA3BnvFQjQ9p8zeZVz2so3ND6_GAWCRWWad-1j5oki9Dq22fNIeiRVPrl83W/
http://i37.tinypic.com/345o85i.gif
http://i365.photobucket.com/albums/oo98/gondrezt/Green%20Blog/tabs2.gif
http://sites.google.com/site/pahingdesign/images/tabs-paper-cuss-Clip.png
http://i763.photobucket.com/albums/xx277/gberandal/celoteh%20galang/CHATBOX.png
http://i142.photobucket.com/albums/r81/gusdiwanto/tab.png
http://i493.photobucket.com/albums/rr292/marcel_freezer/GuestBook2.gif
http://b.imagehost.org/0611/buku-tamu.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTTi3OO5K_nZ5QJ5o69b3GBQxI0uZQsdsNixCMeE-ikHxUNizK5lW0OtbKGCHOa_UJtfxbBnTNr4cg1HGac-OPx4hnXFOJLkJskUGpV6bVdVFmZ0L5WdYtGeJY7_Z-L3N48pPK5EPdJaM4/s320/tabs.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglYFiaLGOznBVoFC2i9dO2DOuChS9XpIOLFkpF6fqv2r9kSmcD-i_tylqcpXtaijiW_Hf6V_X_un8DeoUgl5nbPIWY4PmMwej-QT3_FWmbbF9eLsk98TGA7-0sWwGbiSXaPo2EDQg2RxB1/s1600/buku+tamu.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglYFiaLGOznBVoFC2i9dO2DOuChS9XpIOLFkpF6fqv2r9kSmcD-i_tylqcpXtaijiW_Hf6V_X_un8DeoUgl5nbPIWY4PmMwej-QT3_FWmbbF9eLsk98TGA7-0sWwGbiSXaPo2EDQg2RxB1/s1600/buku+tamu.png
0 komentar :
Posting Komentar