Tips Cara Pasang Chatbox Hidden di Blogger
Sabtu, 21 Agustus 2010
1
komentar
<!-- right hidden chatbox by http://budiantobjm.blogspot.com START -->
<style>
#hcr {
position:fixed;
top:150px;
z-index:+1000;
}
* html #hcr {position:relative;}
.hcrtab {
height:150px;
width:30px;
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKqd52lnkTHzlyb9P8xZN3522SgNQyR27uAiLvzPhua6lU-gNcslUxptTuWl_c-6d67HeH0XWf6YE4Brr263yWRtYtQ0CGyRiooGyvUNxAZHrPR4v9wJ8OvhP9wIwzsmXI_b5umBHVT4Q/s400/cbblue-2-LEFT.png') no-repeat;
}
.hcrcontent {
float:right;
border:2px solid #A9D0F5;
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">
<center><blink><span style="font-weight:bold;">Tinggalkan Pesan Anda</span></blink></center><br />
< MASUKKAN CODE SCRIPT CBOX ANDA -->
<br />
<div class="hc-credit">
<span style="float:left">
<!-- THIS CREDIT MUST STAY INTACT FOR LEGAL USE -->
<a href="http://gadogadorahma.blogspot.com/2010/01/hidden-chatbox.html" target="_blank">
Get this widget!
</a>
</span>
<span style="float:right">
<a href="javascript:showHidehcr()">
[close]
</a>
</span>
</div>
</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://budiantobjm.blogspot.com END -->
sekarang kita pasang kode itu di blog. Udah tahu caranya kan ???? Itu, pilih Rancangan > Page Elements > HTML/Javascript, lalu masukkan kode Hidden Chatbox diatas.
Catatan: Trik hidden ini bisa juga anda gunakan untuk memasang widget lain, jadi trik ini tidak khusus untuk memasang Cbox.
1 komentar:
Org Banjar kc Nwa ?
Posting Komentar
BLOG ini benar-benar DOFOLLOW
Silahkan dapatkan Backlink Gratis dengan Komentar
Maaf SPAM akan Dihapus,
Contoh SPAM : Mengetik Link Pada Komentar, Komentar tidak sesuai Isi Artikel,No Porno, No Sara.