PDA

View Full Version : disable left click drag and drop



mdjinn31
11-22-2008, 03:40 AM
hello everyone, is there a way how prevent people to drag and drop pictures to the desktop from a web site

magicyte
11-22-2008, 04:44 AM
Is this so that your pictures on your site won't be stolen? You can try to protect them, but the average 'person-who-needs-an-image-and-is-very-desperate-for-it' will do pretty much anything to get it.

A good portal for you to show why it is bad: http://www.dynamicdrive.com/forums/showthread.php?t=1932

Your users probably won't like it...but if you need something like this, you may wish to use the onclick or onmousedown event handlers for your functions.

-magicyte