30/01/2012
Show/Hide follower gadget


hye .. harini gedik sikit nakk letak gambar band ft island nie . ehehe .. saje je letakk . btw , aku mint gile dekad dorang.. ahaha >

okey , aku nak buad tuto pasal hide follower gadget pulak .. lahh macam aku punye tu lahh . ta payah pening-pening  .. dah ade tuto nie . okeyy ini dicredit kan kepada apit okey .. okey  .. malas nak cakap banyak-banyak truskan mule tutorial je okey .

Dashboard -> Design -> Add  a Gadget -> HTML / Java Script 

 paste kan code ini :


<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:220px; right:-0px;'>
<a href="javascript:void(0);"onclick="showHideAT()"/><img class="expando" width="140" height="180"src="URL BUTTON" alt="PUSH" title="Follow"/></a>
</div>

belajar kejap:

Biru : besar icon
Merah : icon follow
Ungu : perkataan follow boleh ditukar ape ikut suka kamu \

okeyy .dah siap ? ...

wait-wait . tak habes lagii okeyy ..

okey ., korang pergi ke google friend connect untuk dapat kan code ..pastikan korang sign in google/blog korang dahulu ! okey selanjutnye ikut gambar kat bawah nie ,,


klik untuk tumbuh jerawat .. 
takpayah ikut anak panah no.1 tu terus pergi ke kawasan blog korang . ikut no.2 je :)


korang boleh ubah ubah-ubah width die tu .. 
and kalau nak ade warna2 dekad situ boleh tukar ke bahagian warna ..


lepas dah settle , korang click generate code untuk amik code tu .. 

okey dah settle bahagian atas tu kan ? now .. korang copy code bawah ni pulak 

<style type="text/css">




#at{
position:fixed;
right:450px;
z-index:+1000;
}
* html #at{position:relative;}
.attab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url();
}
.atcontent{
float:left;
border:2px solid #E45E9D;
background:url(URL BACKGROUND) #E45E9D repeat-x bottom center scroll ;
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
padding:10px;
}
</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.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveAT("+x+", "+xf+")", 10);}
}
</script>
<div id="at">
<div class="attab" onclick="showHideAT()"> </div>
<div class="atcontent">
<div align="center">
<div style="background:url() no-repeat;">
CODE FOLLOWERS GADGET
</div>
</div>
<br />
<div align="right"><a href="javascript:void(0);" onclick="showHideAT()"><a href="http://wanhazel.blogspot.com/"><div style="color: #FFFFFF;">
<span ></span></div></a></a></div>
</div></div>

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

pastu korang paste kan kat tempat yng mule2  tadi okey

okey kite kene belajar dulu baru pandai :


 solid: jenis border boleh tukar dashed or dotted
#E45E9D :warna border URL BACKGROUND : boleh tukar dengan yang korang suka
CODE FOLLOWERS GADGET : tukar dengan code yang korang da copy dekat 



okey dah settle ? baguss ..


credits:
tutorial : apit
pitcha : apit * malas nak amik gambar so , pakai je apit punye . hee*
p/s to apit: thanks ya cz sudi kasi guna ini tuto :)




Positive comment please: 0 comments
« Older posts | Newer posts»