Notes

1. I don't do tutorials anymore.

2. I rarely update my blog due to my health condition.

Thanks for your concern :)

Wednesday, June 2, 2010

cara hide shout box.

hari tu ada someone yang tanya I macam mana nak hide kan shoutbox macam kat blog I tu. So here's the step.


1st, dekat dashbord korang tu, nampak tak perkataan layout? Takpun design untuk sesiapa yang guna blogger draft, then click kat situ. After that, u guys click kat Add A Gadget, then choose HTML/Javascript.


2nd, copy and paste code di bawah ini.



<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}

.gbtab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXTLgqBo6LG46-ftDVZ3zMaAwaUgcL1AE9WWfM6HhL1_Al9U7pYGrsYI73SX3bzVAC5RZBJ19LJ67L2st0f_l0VP9YIePchYise7DdwzRSV9jIYEnj724jTJIIEeh-tv1dPawq3or65PCh/s320/tabs.png') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #666666;
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">
MASUKKAN CODE SHOUT BOX KORG

<div style="text-align:right">
<a href="javascript:showHideGB()">
[close]
</a>
</div>
</div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (30-gb.offsetWidth).toString() + "px";
</script>


Click save, then automatically, shoutbox you guys akan di hide kan di tepi sebelah kanan page blog anda.


SELAMAT MENCUBA ! :)

7 orang rasa saya gemuk tapi hot. aww:

Anonymous said... REPLY

thanks sis..sy da tutorial ni..:)

hudhud said... REPLY

ur welc :)

Hidayah Ismawi said... REPLY

Thanks so much.. I did it already..hehe.. accidentally deleted my chatbox and panicked! hehe.. thankfully managed to retreive it back..

tiafazunia said... REPLY

tia da buattt!
thanx! :)

eikaa said... REPLY

thanks sis fot the tuto :)

Zurina Majid said... REPLY

thank you. tapi macam mane nak buat macam u punye shoutbox tu?ade mamat korea kacak kat tepi? huhu

inanur@TH said... REPLY

TQ dear for the tutorial

Post a Comment

Next Previous Home