♥ Let's Follow!!~ ♥

Hide Shoutbox

Salam...
Tutorial macam mana nak hide kan Shoutbox..

Macam Shaa nyer... :P



1- Mula2 kena ada shoutbox, kalau xde boleh sign up kat SINI
2- Pastu sila ke DESIGN - PAGE ELEMENT - ADD GADGET - HTML/JAVASCRIPT
3- Copy Paste Code dibawah ini
<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:140px;
width:30px;
float:left;
cursor:pointer;
background:url('http://4.bp.blogspot.com/_ctsjb7gGg_k/TQwlZtxPmKI/AAAAAAAAB8M/X6_itWPYjCY/s1600/SHOUTX.jpg')no-repeat;
}
.gbcontent{
float:left;
border:2px solid #DB7093;
background:#F5DEB3;
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">

--- PASTE CODE SHOUTMIX HERE -----

<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>

4- Ada perkataan ------Paste Code Shoutmix Disini-------
Gantikan dengan Code Shoutmix.

5- Please jangan REVIEW ok!! Terus Klik SAVE.

♥ Warna Biru tu width and height untuk gambar tepi tu.
♥ Warna Oren tu url gambar tepi, leh tukar kalau nak..kalau xnak pun takper (^_^)
♥ Warna Pepel tu , kena adjust sikit. Kadang2 gambar tu boleh tersorok tak tunjuk sepenuhnya & kadang2 dia tutup pun tak habis .

0 Sweet Kukis:

Related Posts Plugin for WordPress, Blogger...