[Javascript] Right Click
Peter-Paul Koch
gassinaumasis at hotmail.com
Tue Mar 19 09:56:03 CST 2002
>Can anyone tell me if they know of a way to use "onrightclick=" with a
>image and NOT have that default Windows menu of "Save Picture as...Save as
>Wallpaper..." appear as it does with all images?
>
>What I am trying to do is to have an image be my link but I want the link
>to only work when the user right clicks (preferably right double click) the
>image.
See http://www.xs4all.nl/~ppk/js/index.html?improt.html for a script that
almost does what you need. It's meant to disable image saving but it can be
tweaked to do what you want.
What happens on a Mac, which doesn't know a right button?
ppk
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
More information about the Javascript
mailing list