Girl Online
tutorial: sliding shoutbox
Thursday, 28 June 2012 • 9:39 pm • 2 comments
Tumblr_lxn5jjzvsa1qgby90o1_500_large


Well,hello world. my blog is kinda sunyi sepi now.. bhehehe ~ lama sudahkan ila tidak online.. well,faham2lah. hoho ~ sibuk bah. ok,hari ni ila maw kasikk korang tutorial. Mungkin banyak yg dah tahu,tapi ila just nak share jaa. kalau nak,just follow tuto ni k . jom start.

1. dashboard > design > add a gadjet

2. copy ne,paste di dalam kotak tu kayyh.

<style type="text/css">
#at{
position:fixed;
right:300px;
z-index:+1000;
}
* html #at{position:relative;}
.attab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url();
}
.atcontent{
float:left;
border:2px solid #CA226B;
background:url() #000000 repeat bottom center scroll ;
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
padding:5px;
}
</style>
<script type="text/javascript">
function showHideAT(){
var at = document.getElementById("at");
var w = at.offsetWidth;
at.opened ? moveAT(0, -200-w) : moveAT(20-w, 0);
at.opened = !at.opened;
}
function moveAT(x0, xf){
var at = document.getElementById("at");
var dx = Math.abs(x0-xf) > 25 ? 35 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
at.style.bottom = x.toString() + "px";
if(x0!=xf){setTimeout("moveAT("+x+", "+xf+")", 10);}
}
</script>
<div id="at">
<div class="attab" onmouseover="showHideAT()"> </div>
<div class="atcontent">
<div align="center">
<div style="background:url()#000000 no-repeat;">
<div style="text-align: center;">


URL CBOX/Fibox/Shout Busuk


<div align="right"><a href="javascript:void(0);" onclick="showHideAT()">CLOSE</a></div>
<br /><div align="left" float: right;><a href="http://wanhazel.blogspot.com/">by WAN HAZEL</a><div style="color: #FFFFFF;">
<span ></span></div></div>
</div></div>


<script type="text/javascript">
var at = document.getElementById("at");
at.style.bottom = (-200-at.offsetWidth).toString() + "px";
</script>


<style type='text/css'>
a.linkopacity img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;F
opacity: 0.5;
-khtml-opacity: 0.5;}

a.linkopacity:hover img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0; }
</style>

<div style='display:scroll; position:fixed; top:150px; right:5px;'>
<a href="javascript:void(0);"onclick="showHideAT()"/><img src="http://i1180.photobucket.com/albums/x416/Ila_Nabilah/shouthere-blue.png" alt="PUSH" title="KLIK ME" /></a>

</div></div></div></div>

3. okay,yang lain2 tu korang pandai2lah ejas sendiri ok.

solid #CA226B : boleh tukar kepada dashed/dotted or anything else.
#CA226B : kod warna boleh tukar.. cari ja lah kat dalam freebies list ila tuh ~

Okayy,then savelah. :D

#credit to > Wan Hazel


PASTFUTURE


welcome to my humble abode! i literally sucks at expressing my emotion, that's why i decided to start a blog, to express everything i am feeling at the moment. i live for my pets and food. x


MOOD BOARD




Template by x
Basecodes x
Other stuffs xxxxx

All Right Reserved 2012 by Girl Online