Bedazzled
Yoo hoo ! XD| Dashboard | +Follow
Tutorial 1#:Disable Right Klik kat blog kita
Ahad, 24 April 2011 | 11:17 PTG | 0 dazzle(s)
Azka nk ajar korang buat ni..n ini tutorial pertama bagi blog nie..hehe..korang pasti ada masalah ngan copycats kn?now,nk ajar ni..gini caranya..

Dashboard > Design > Add Gadget > HTML/javascript


Copy n Pastekan kod ni kat HTML/javascript korang ok..klau x..xlah jadi..




<script language=JavaScript>
<!--
//edit by unwanted

var message="Mesej apa-apa je :)";
///////////////////////////////////
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>




Kat warna PINK tu korang kasilah mesej yg korang nak!beginilah tutorial pertama blog nie..bye!

OLD / NEW