Own Chat Box on your Blog

1. Login here http://www.cbox.ws/

2. After you get your code

3. Copy this code to your HTML script on your blog

<style type="text/css"> #gb{ position:fixed; top:50px; z-index:+1000; } * html #gb{position:relative;} .gbtab{ height:150px; width:30px; float:left; cursor:pointer; background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmGaWywg1SYt8tZzAm1sr-YMt2b-a464AMOqV4zSRc56LgS94Lv46YK066o9oSOopJR4P77kR0HMfO8MQG98zohzy-5Pnva3wFTSCV4vx_JnsddDENIoauzFAxunso4XaeDvjJf7UE57SN/s1600/buku+tamu.png') no-repeat; } .gbcontent{ float:left; border:1px solid #B3B3B3; background:#E6E6E6; padding:5px; } </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">   <!-- BEGIN CBOX - www.cbox.ws - v001 --> your Code CBox  <!-- END CBOX -->  <br/>Mau buat buku tamu ini ?<br/>Klik <a href="http://jeprisani.blogspot.com"target="_blank"> di sini </a> <div style="text-align:right"> <a href="javascript:showHideGB()"> [hide] </a> </div> </div> </div> <script type="text/javascript"> var gb = document.getElementById("gb"); gb.style.right = (30-gb.offsetWidth).toString() + "px"; </script> 

4. Change the red area with your code from Cbox

5. Save N enjoy

See you....Thx

Post a Comment

0 Comments

Jepri sani's blog the one and only blog for my self..hopefully useful, now and tomorrow....