Hidden Chatbox | Float Chatbox

Bookmark and Share


In this time i will share a Hidden Chatbox like in my blog in the right, because my friend ask it. :devilishgrin:















To make this follow this step :

1. Login to your blog => Layout Page elements => add widget (HTML/Javascript).

2. Copy this code :

<!-- Hidden Chatbox  -->
<style>
#hcr {
position:fixed;
top:100px;
z-index:+1000;
}
* html #hcr {position:relative;}
.hcrtab {
height:125px;
width:30px;
float:left;
cursor:pointer;
background:url('http://img709.imageshack.us/img709/7059/bukutamuu.png') no-repeat;
}
.hcrcontent {
float:left;
border:2px solid #00ffff;
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">

<!-- Your Shoutmix Code-->

<br />
<div class="hc-credit">
<span style="float:left">
<a href="http://kentrikari.blogspot.com/2010/03/hidden-chatbox-float-chatbox.htmll" 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>
<!-- End -->/span>
      note :
  • http://img709.imageshack.us/img709/7059/bukutamuu.png You can change this image with your image ( replace this link with your link/image)
  • Change this Your Shoutmix Code with your code in shoutmix.
3. Klik save & see the change in your blog. 

Good Luck..!!

{ 3 comments... Views All / Send Comment! }

Admin said...

thanks trik infonya..

Nan said...

trims!

aku udah coba ini-itu tapi ini yang paling pas!

Kentrik said...

@Lukas Blog : sama-sama bung Lukas.

@Kliuna-ai : owh sama-sama gan,
kalo merasa pas, Alhamdullilah.. gambar juga bisa diberi sendiri kok gan.. :)

Post a Comment

Bila anda suka / tidak suka dengan postingan saya,
Silahkan Tuliskan komentar anda di kotak bawah ini,
"Karena dengan komentar, kritik dan saran mungkin bisa membantu kemajuan blog ini",Terima Kasih!