[b]Co_don SanAdH[/b]
bro udah liad enter page [b][url=http://www.friendster.com/bangkanal]bang kanal[/url][/b]..??
pas di klik IE/FF user dia kluarin window baru(open browser window) yang bergerak...
nah ntu tuh nyang saiia maksut...
[i]edited[/i]
nah..
bgtu bro...
boleh saiia minta kode'a..??
yang udah tinggal kopas aja ye....
[b]nifsuaje[/b]
cuba bro pake ini.. :
[quote]/********* NO RIGHT CLICK ***********/
var msg ="sorry..no right click dude...
"
function noRclick( event )
{
if( event.which == 3 )
{
alert( msg );
return false;
}
return true;
}
function noRclick2()
{
alert( msg );
top.location.href = "http://www.friendster.com/error.php";
return false;
}
document.oncontextmenu = noRclick2;
document.captureEvents( Event.MOUSEDOWN );
if( document.layers ) document.onmousedown = noRclick;[/quote]
copas di bagian C/paling bawah JS kamu....
[i]link'a bisa di ganti kemana aja(ntu juga klo mw ngerjain orang)...[/i]
Last edited by dj_afran (2008-05-28 06:39:11)