Pages: 1

  2009-01-01 11:05:39

xxlylexx
» FTalkAddict
FTalk Level: zero
303
0
1969-12-31

1. Get the code at the resource section of this page "Disable Code". "http://www.ehow.com/how_4498359_right-click-using-javascript-code.html" 2. Put that code on the head section or body section of y

[quote=blue_mercury]here d code for no right click paste dis codes in d head section. credits from dynamicdrive.com :thumbsup: :arrow: Code: <script language=JavaScript> <!-- //Disable right click script III- By Renigade (renigade@mediaone.net) //For full source code, visit http://www.dynamicdrive.com var message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false") // --> </script>[/quote] this should be place in the [b]BODY SECTION[/b] not in the head section of a html

Pages: 1

Board footer

© 2024 F Talk

Current time is 22:15

[ 12 queries - 0.015 second ]
Privacy Policy