Tuesday, April 5, 2011

Toturial Disable Right Click

assalamuailaikum semua..

ini first toturial saya..
maybe sudah ramai buat tapi saya tetap nak..
kalau nak buat yang susah suatu hari nanti..

jom mulakan toturial..

 dashboard / design / add a gadget / html & java script
 lepas sudah buka html & java script
 copypaste code dekat bawah ni


<script language="JavaScript">
<!-- var message="tulis saja ayat kamu"; ///////////////////////////////////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>
<script src="http://bloggerhosting.appspot.com/serve/fwzynn.googlepages.com/rainbow.user.js" type="text/javascript">
/***********************************************
* Script edited by Ynn Ainul at http://fwzynn.blogspot.com/
* Please keep this notice intact
***********************************************/
</script>







nota kaki myra : warna pink - letak ayat nak cakap!!

bye..

terima kasih kerana membaca!!

1 comment:

azleen said...

tak blh copy lar

 
  • Home
  • efbeek
  • cutest owner
  • Myra Story Blog