MustangWorks.com - The Ford Mustang Power Source!

Go Back   MustangWorks.com : Ford Forums > Website Community > Blue Oval Lounge
Register FAQ Members List Calendar

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 04-28-2001, 12:09 AM   #1
Power
Registered Member
 
Join Date: Feb 2001
Location: Oregon
Posts: 420
Post 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
Power is offline   Reply With Quote
Old 04-28-2001, 11:51 AM   #2
joe4speed
He said Member...heh, heh
 
joe4speed's Avatar
 
Join Date: Sep 1999
Location: Jupiter, Florida U.S.A.
Posts: 3,718
Smile

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

joe4speed is offline   Reply With Quote
Old 04-28-2001, 01:47 PM   #3
Power
Registered Member
 
Join Date: Feb 2001
Location: Oregon
Posts: 420
Post

Thank you....also helped me find a new java site. Very appreciated.
Power is offline   Reply With Quote
Old 04-29-2001, 02:06 AM   #4
joe4speed
He said Member...heh, heh
 
joe4speed's Avatar
 
Join Date: Sep 1999
Location: Jupiter, Florida U.S.A.
Posts: 3,718
Thumbs up

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

joe4speed is offline   Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 02:49 AM.


SEARCH