[quote=Almo]Aduh...
Spt nya script "no right click" nya gak mau jalan ntuh bro sekya
saia dah coba selipin di css but.. setelah saia coba di profile tetap ndak ada reaksi nya....
saia pake FF v2.0....
help me all please....
[/quote]
bro, ini kode no right click yang jalan di IE dan FF
[quote]/*-*-*-*-*-* nO RighT ClicK *-*-*-*-*-*/
function nrcIE()
{if (document.all)
{return false;
}
}
function nrcNS(e)
{if (document.layers || (document.getElementById && ! document.all))
{if (e.which == 2 || e.which == 3)
{return false;
}
}
}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = nrcNS;
}
else
{document.onmouseup = nrcNS;
document.oncontextmenu = nrcIE;
}
document.oncontextmenu = new Function("return false");[/quote]
[b]ini kode js ya[/b]