2nd TUTO-Disabled Right Click
.tutorial ni direquest oleh-adik aisyah
.kalau korang semua tknk org copy korang punya maklumat ape semua boleh lah guna benda alah nie banyak manfaatnya .
1) Buka Layout - Page Elements - Add a Gadjet
2) Then pilih HTML/JavaScripts dan copy paste code di bawah ni
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="OPOCOT MAK KAU ~";
///////////////////////////////////
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) Ayat dalam font merah tuh, korang tukar dengan ayat korang sendiri
4) .Lastly PREVIEW dulu tau baru kauorg SAVE ehh :D
*jengg jengg tak boleh copy ehh ?
hikhik tkan Ctrl+C okayy ? godddd
*jengg jengg tak boleh copy ehh ?
hikhik tkan Ctrl+C okayy ? godddd
No comments:
Post a Comment