Thursday, May 5, 2011

Ummu Athirah cepat tengok! Hoho

Assalamualaikum, tak jawab berdosa taw..hehe

Pernah ke orang buat post title cenggitu? Adeh. Biarkan saja :P
Em, em, u, nak post sal shoutbox-buttons tu je. Haha.
Sarah dah wat siap2, tapi taktau la u puas hati ke tak,
sebab u ade cakap nak kaler kuning terang kan, tapi kucing tomel tu kaler pink, macam tak masuk, so u pilihla antara due, ye?
Enjoy! :D

Nak letak camne? Senang ajo. Tengok kat coding bawah ni.


<style type="text/css">
#gb{
position:fixed;
top:45px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:300px;
width:60px;
float:left;
cursor:pointer;
background:url('URL GAMBAR') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #990033;
background:#F5F5F5;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 60-w) : moveGB(60-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">

CODE SHOUTBOX

<div style="text-align:center">
<a href="http://teknikbuatblog.blogspot.com/2010/04/shoutbox-adalah-suatu-widget-yang.html"><font size="1"">get this </font></a><a href="javascript:showHideGB()">
[close]
</a>
</div>
</div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (60-gb.offsetWidth).toString() + "px";
</script></div>


U gantikan URL GAMBAR tu dengan URL shoutbox button pilihan u, neh?
Bereh da ase. Papehal, komen la :D


http://i1201.photobucket.com/albums/bb354/uwmaisarah/shoutboxugif.gif


http://i1201.photobucket.com/albums/bb354/uwmaisarah/shoutboxu2gif.gif

PS : Bile mase lak aku apply shadow, heran bin ajaib....=.=
Photobucket
Share:

4 buddy (ies):

:: Into The New World :: said...

terharu betoll.. femes kejap.. hehe..
TQ :)

AL-QASSAM said...

Creatif2 bab hias blog


MENONGKAH ARUS KEHIDUPAN

uwmaisarah said...

@:: Into The New World ::, feems eh? haha xD

uwmaisarah said...

@AL-QASSAM, hehe, sementara berpeluang nk meningkatkan kreativiti :)