© Copyright 1995 thru 2008 - The Mustang Works™. All Rights Reserved.
MustangWorks.com is designed and hosted by Aero3 Media.
MustangWorks.com is designed and hosted by Aero3 Media.
04-28-2001, 12:09 AM | #1 |
Registered Member
Join Date: Feb 2001
Location: Oregon
Posts: 420
|
Web Developing Guru's....need help.
Hey all, I have been looking and looking for a script that disables the right-click when you go to a webpage. I tried writing one but my java skills aren't advanced enough. Any idea's where I can find one??
thanks in advance..mac |
04-28-2001, 11:51 AM | #2 |
He said Member...heh, heh
Join Date: Sep 1999
Location: Jupiter, Florida U.S.A.
Posts: 3,718
|
Here ya go...
copy and paste: <!-- STEPS TO INSTALL NO RIGHT CLICK: 1. Copy the coding into the HEAD of your HTML document <!-- Paste this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript1.1"> <!-- Original: Martin Webb (martin@irt.org) --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 | | e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 | | event.button == 3)) { alert("Sorry, you do not have permission to right click."); return false; } return true; } document.onmousedown=right; document.onmouseup=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); if (document.layers) window.captureEvents(Event.MOUSEUP); window.onmousedown=right; window.onmouseup=right; // End --> </script> </HEAD> ------------------ Joe! 1988 GT, 167,000 miles!!! 13.71@105mph Check out my listing! Click here! Or my website: www.joe4speed.com 1999 Ninja ZX-6R 10.32@135mph! 1993 Olds Eighty Eight LSS |
04-28-2001, 01:47 PM | #3 |
Registered Member
Join Date: Feb 2001
Location: Oregon
Posts: 420
|
Thank you....also helped me find a new java site. Very appreciated.
|
04-29-2001, 02:06 AM | #4 |
He said Member...heh, heh
Join Date: Sep 1999
Location: Jupiter, Florida U.S.A.
Posts: 3,718
|
No problem! that's a cool site too.. lots of goodies!
------------------ Joe! 1988 GT, 167,000 miles!!! 13.71@105mph Check out my listing! Click here! Or my website: www.joe4speed.com 1999 Ninja ZX-6R 10.32@135mph! 1993 Olds Eighty Eight LSS |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
351/5.8 Guru's - Need cam selection help | 2FastLX | Windsor Power | 3 | 03-14-2002 11:32 AM |
Computer Ques. for any Guru's..... | Big Bopper | Windsor Power | 4 | 02-26-2002 02:44 PM |
cylinder head guru's, please help! | Mach 1 | Windsor Power | 13 | 02-18-2002 01:40 PM |
computer question for the gurus | 82 GT | Blue Oval Lounge | 4 | 02-16-2002 07:56 PM |
forced inducution/5.0 gurus: please help | 93GTDIN | Windsor Power | 7 | 02-06-2002 12:54 AM |