- Login ke blogger
- Rancangan
- Elemen Laman
- Tambah Gadget
- HTML / Java Script
- Pada Bagian Judul Kosongkan saja
- Pada Bagian Konten Copy paste Script di bawah ini
<style type="text/css">
#gb{
position:fixed;
top:30px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:200px;
width:30px;
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiVJv8cKQahH8IzBMuVAA-KSGp8TssNVQnQ9zzuAUwtUy33ZzeWlMfrcNkQi6bOYs-_PF0cdiDzghA-1njHcvgRNq_Tezh4ldzcYweD3JMHfbqeJ4Bm7wq8qGXHWQ41Dp3dGoKz9cR_9J8/s1600/cbred.png') 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()">
[Sembunyikan]
</a>
</div><br/>
<!-- Ganti ini dengan kode buku tamu kamu -->
copy paste script chat box di sini...
</div><!-- END CBOX -->Mau Seperti ini..? <a href="http://www.mahasiswa-lugu.tk/2012/12/membuat-chatbox-hide-hilang-tersembunyi.html">Klik</a>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (30-gb.offsetWidth).toString() + "px";
</script>
Keterangan :
UNGU = Ganti alamat image sesuai keinginan agan...
MERAH = Ganti Chat Box agan yoo....
hehe... ^^v
Terakhir >> Simpan
Berikut ini adalah icon hidden chatbox dan warna border yang serasi dan bisa anda gunakan dalam hidden chatbox anda :
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM0Q4iyYZTkGfYryxwtmIx1NxItn9svCFVZgsGij9n-3nigYb_Y_By8GLSbW_-kPrhG-Lu2WwkFE4GezBuDCyQw0Qp4bUnER2KA64snkyTScDz243XY_p4P-y3tFjkBVhpIjSHuz7T1lmr/s1600/cbblue-2.png
Warna border #0079a0
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ3Dk0W2iA07gSEyxz8IAMYTx0EPG3jS4DVflxdTuRP1u9LqnWoAk4JF9g3NbWoB2zv_TSbE-rYMWDtEV0MybucHYUPeQXzg3Pssi19OvR2pwqCuoxuCgCe0BJU98LL0cblU8kuCjsGjP_/s1600/cbblue.png
Warna border #003e82
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi61a53X6q2kxZhpLCaKmxiGsRUrVRt9ZY93qujTLaX75sZdMymk9RmDNilslYUAPBfo2IcKe1M5mRMd7q2C0uJCGqiBv9MgZcvcsb2tXMAo8FP8YhqhjoJn8f1mbYRkSbxrgIw9tJInNDr/s1600/cbgreen.png
Warna border #008232
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCnuEeafdOeWqgrJAeQE84mONtVPRIiawAyg9MQVf45rCYgvRrB-g9uQntK2u2m7GlMiVjbvAfGkUOE33DXP67t-w4UqCcwnOQqcPDu7Jomj7FS1M6fOOQGT8Y6SrIAvl6w0JOqem5UlOv/s1600/cbyellow.png
Warna border #aca500
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiVJv8cKQahH8IzBMuVAA-KSGp8TssNVQnQ9zzuAUwtUy33ZzeWlMfrcNkQi6bOYs-_PF0cdiDzghA-1njHcvgRNq_Tezh4ldzcYweD3JMHfbqeJ4Bm7wq8qGXHWQ41Dp3dGoKz9cR_9J8/s1600/cbred.png
Warna border #790909