1. Loggin ke blogger
2. Pilih rancangan >> Tambah Gadget
3. Copy and paste script dibawah ini
<!-- right hidden chatbox by http://anima-generation.blogspot.com START -->
<style>
#hcr {
position:fixed;
top:100px;
z-index:+1000;
}
padding:56px 0 20px 5px;
* html #hcr {position:relative;}
.hcrtab {
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOnYlOWUmFTDntNkYy6BqYG6xq8GCfH-Ix_y69bd3X2z9RGoUhO_7i4qyHTRv50nPCL2puhRvJpmDZgbJ0IyEBrmPAO3O-sbsMF8FmKZQi6t-VFjEPyXZXaPUQnGmGRAwo8jRMWplnBwU/s400/cbblue.png') no-repeat;
}
.hcrcontent {
float:left;
border:2px solid #003e82;
background:#f3f6f7;
padding:10px;
}
.hc-credit {font-size:9px}
.hc-credit a {text-decoration:none}
</style>
<script type="text/javascript">
function showHidehcr(){
var hcr = document.getElementById("hcr");
var w = hcr.offsetWidth;
hcr.opened ? movehcr(0, 30-w) : movehcr(20-w, 0);
hcr.opened = !hcr.opened;
}
function movehcr(x0, xf){
var hcr = document.getElementById("hcr");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
hcr.style.right = x.toString() + "px";
if(x0!=xf){setTimeout("movehcr("+x+", "+xf+")", 10);}
}
</script>
<div id="hcr">
<div class="hcrtab" onclick="showHidehcr()"> </div>
<div class="hcrcontent">
"CODE CBOX ANDA DISINI"
<span style="float:right">
<a href="javascript:showHidehcr()">
[close]
</a>
</span>
</div>
</div>
<script type="text/javascript">
var hcr = document.getElementById("hcr");
hcr.style.right = (30-hcr.offsetWidth).toString() + "px";
</script>
<!-- right hidden chatbox by http://anima-generation.blogspot.com END -->
4. Simpan template anda tanpa nama yah...
5. Selesai...Lihat blogger anda...
Note :
Code warna hijau adalah tempat icon Chatbox anda, itu bisa anda ganti icon sesuka anda..
top:100px letak hidden chatboz dari atas
height:100px; tinggi kotak chatbox
width:30px; lebar dari kotak chatbox
float:left; letak hidden chatbox anda. jika ingin berada di kanan silahkan ganti "left" dengan right
Tidak ada komentar:
Posting Komentar