Pages

Tuesday, March 1, 2011

Tutorial: Disabled Right Click

Assalamualaikum..


harini cek gila nak buat tutorial jek..hihi...ni pon atas permintaan..hehek...sila2 cuba..jangan malu jangan segan segan..mari adik kakak..yang jauh kita dekatkan..yang dekat kita rapatkan...woi2..jangan la himpit himpit...kang bersentuhan bukan muhrim..dosa tanggung sendiri...aq tanak campur..niat aq nak ajar tutorial jek..ngeee...


okay sekarang kita belajar cmne nak disabled right click...hehe...first of all...copy this code nicely....dont bad bad..nyiahahahh,,copy tu tekan Control c okay...sbb blog ni da disabled right click..

___________________________________________________________________


<script language=javascript>
<!--

//Disable right mouse click Script
//By Maximus (maximusatnsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="hah tekan! kang aq fire !!";

///////////////////////////////////
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>

______________________________________________________________________

then gi kat Design > Add A Gadjet > HTML Java Script > Paste Code 


pastu dekat var message tu tukar la ngan word korang nak letak..ingat taw..perkataan sahaja tukar...yang tanda "   "; jangan padam taw ! ingat !!!

dah tukar?..klu dah > Save > Save kat bahagian atas pulak...view blog


jeng jeng jeng...dah siap..cuba korang tekan right click...tgk ape yg kuar...hahah





Selamat mencuba ~~~~~


p/s: sakit perot ! tapi air xde..cmne?

9 comments:

yana said...

nape xleh nak copy farah???????

Nurfarahana Abdul Aziz said...

macam aq ckp la td...tekan control c...

Rie Zarchry said...

susah juga kalau disable right click
sbb kdg2 nak bukak link kat new tab
hehehe

link jgn lupa letak target="_blank"
senang sket nak klik..hehe

jom join contest rie:
http://riezarchry.com/home/zfree/contestjutawan/

Nurfarahana Abdul Aziz said...

hmm..a'ah kan..so cmne tu nk wat dia?..ajar le...hihi

cik jannah said...

ada tuto lagik??

Unknown said...

sy dah cuba ..memang berkesan..good tutoriol :)

Nurfarahana Abdul Aziz said...

jannah: nnt klu ada sy bgtw k..

aisyah: thanx 4 use it !..=)

norliza said...

asaalam...
mekasih atas infomasi yang diberi...
toturial untuk buat scroll xder ke...tengok ler saya py senarai mister linky's dah panjang berjela
http://norliza989.blogspot.com

Nurfarahana Abdul Aziz said...

nanti kalau ada saya bgtaw k..sbb saya xde mister linky..hehe..i'll try my best

LinkWithin

Related Posts Plugin for WordPress, Blogger...