Saturday, February 12, 2011

Sidebar Things ツ

Request drpd Fisa ^^

1) Dashboard > Design > Page Elements > Add a Gadgets > Add HTML/Javascript

2) Copy kod HTML image/gif. yg anda nak letak tu .

3) Then , paste-kan kod yg anda copy tdi  kat HTML/Javascript yg anda telah add/buka .

4) Lpas tu , sila preview  untuk adjust size gif/image anda tu .

5) Lpas dah siap ubah , save dan lihat lah hasilnya :) 

Ade masalah ? Komen - komen je :)

Monday, February 7, 2011

Disable Right Click ツ


 Request drpd Fatini ^^

1) Dashboard > Design > Page Elements > Add a Gadgets > HTML/Javascript

2) Copy code kat bawah nie.

<script language=javascript>
<!--

//edit by unwanted


var message=" Massage Anda ";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>

3) Pastekan code kat HTML yg tadi . Yg Massage Anda tu ganti lah dgn massage yg anda nak k ? 

4) Lpas dah letak , save lah :D

Ade masalah ? Komen - komen je :)

Saturday, February 5, 2011

Facebook Share Button ツ

Request 3 drpd Awanis ^^

1) Dashboard > Design > Page Elements > Edit HTML 

2) Tick pada Expand Widget Templates

3) Tkan ctrl + f dan search code kat bawah nie:
<div class='post-header-line-1'/>

4) Lpas dah jumpe , pastekan code HTML fb share button anda di bawah code yg anda cari tadi . 
Aku ada bgi dua button kat sini , jadi anda pilih lah yg mane anda suke ^^

<div style="float: right; padding: 4px;">
<a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</div>
<div style="float: right; padding: 4px;">
<a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</div>

5) Yang warne biru tu anda boleh ubah.
float tu , anda boleh tukar ikut kemahuan anda sama ada , anda nak button tu kat kiri or kanan .
kalau nak button tu kat kiri , anda boleh tukar right tu kpd left

6) Lpas dah siap ubah , preview dulu . Bile dah jadi dan okay , baru save .

Ade masalah ? Komen - komen je :)

Friday, February 4, 2011

Facebook Like Button ツ

Request 2 drpd Awanis ^^

1) Dashboard > Design > Page Elements > Edit HTML 

2) Tick pade Expand Widgets Template

3) Tekan ctrl + f dan search --> data:post.body

4) Kalau dah jumpe , copy code kat bawah nie .

<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&amp;layout=standard&amp;show-faces=true&amp;width=530&amp;height=60&amp;action=like&amp;colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px'/>

5) Then, paste kan code yg anda telah copy tu kat bwah code yg anda cari tadi .

6) Preview dulu, bile dah okay , baru save :)

Ade masalah ? Komen - komen je :)