How to trap a Right Mouse Click

T

Thomas A. Rowe

The image is already downloaded, when the user is looking at the page in
their browser.

In IE address bar type:

? No Right Click JavaScript Script

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
J

Jim Buyens

-----Original Message-----
How do I trap a right mouse click so the user cant
download an image (like a logo)?

This is useless. For the reasons and some alternatives,
browse:

Protecting Pictures
http://www.interlacken.com/winnt/tips/tipshow.aspx?tip=25

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
G

Guest

-----Original Message-----
How do I trap a right mouse click so the user cant download an image (like a
logo)?

Go to one of the many java script sites and do a search
for 'No right Click' and post it on that particlur web
page. It won't keep out the pros bit it will stop most.
 
S

Stefan B Rusynko

You can trap the right click content menu using oncontextmenu="return false;" in the BODY tag
But as pointed out by all the others
- it prevents only 1 method of navigation
- it does not protect images or content
- it impairs users that may have a valid use for all the other items in the context menu




| How do I trap a right mouse click so the user cant download an image (like a
| logo)?
|
|
 
Top