Disabling Right-Click on Graphics that works with Netscape

M

MJones

Using the HTML code fragment I am able to stop right-clicking everywhere on the page when using IE, but I can't seem to find code to disable it in Netscape. Does anyone have javascript code that will disable the right-click when viewing websites built with Publisher 2003

Thanks!
 
D

David Bartosik - MS MVP

The fact that you are using Pub 2003 is irrelevant.

This is a browser issue.
IE and NS have different javascript object models. You have to use js that
is supported in both or you enhance the script with browser detection and
two scripts.

FYI, such scripts are easily circumvented by dis-abling script support in
the browsers options.

As this is not a publisher issue I refer you to javascript sites/forums.

--
David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com
enter to win Pub 2003:
www.davidbartosik.com/giveaway.aspx


MJones said:
Using the HTML code fragment I am able to stop right-clicking everywhere
on the page when using IE, but I can't seem to find code to disable it in
Netscape. Does anyone have javascript code that will disable the right-click
when viewing websites built with Publisher 2003?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top