web_sites:disable_right-click_on_an_image
This is an old revision of the document!
Web Sites - Disable right-click on an image
Copy this code and paste in your html page:
<script language="JavaScript" type="text/javascript"> function popupMsg(theMsg) { alert(theMsg); } </script>
And use with images using this code:
IMG SRC="someImage.jpg" onMouseDown="popupMsg('Clicking is disabled.')
web_sites/disable_right-click_on_an_image.1588718747.txt.gz · Last modified: 2020/07/15 09:30 (external edit)