New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Other Sections
Sweet Ads
Bookmark online:

FF1+ IE5+

Disable right mouse click script II (on images)

Author: Dynamic Drive

Description: This alternate version of the original no right click script targets only images, so right clicking is disabled only when attempting to save an image on the page. Great if you wish your visitors to be able to access the default right menu in general cases.

Important! Due to inherent limitations, in NS4, this script does not disable right clicking on images that are hyperlinked.

Demo: Try right clicking any of the images below!

Directions: Developer's View

Simply add the following code to the END of your page, right above the </body> tag:

Select All