SALAM...
Kali ni nak share macam mana taknak bg orang lain copy and paste nukilan korang kat blog..Penahkan korang terkena masa "right click" kat mana blog yg korang berkenan tapi kuar mesej perli korang..Huh sakit ati kan ? malu pun dapat tapi jgn bimbang.Takde yg tau ok !! Jom korang ikut arahan ni..senang je
sign in dulu blog korang pastu pilih design then add gadget untuk HTML script tu..ala macam nak tampat widgets gak la then salin kod 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="KAT SINI TULIS LA MESAJ!!!";
///////////////////////////////////
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>
pastu korang preview dulu la kot ada error..kalu takde pe2 warning korang leh save.
p/s : korang bley nak copy paste kat mana blog tapi sediakan link asal ke blog tu gak !! baru betol !!
selamat mencuba......
advance level next post
No comments:
Post a Comment