PDA

View Full Version : pb with the rmb deny script



dehm
03-24-2005, 09:25 AM
DD script
http://www.dynamicdrive.com/dynamicindex9/noright.htm

I copied the/your rmb deny java script in my website but is seems to be working only if I make a separate page for each of my images. Only pb is that I have a pletorat of images, I also divided the site w/ frames so that the images pop in the central frame.
Is there any way to make the script work on all the jpgs on the site without having to make 200 different pages?

I would greatly appreciate any help you script-wizs could offer...
Thanks

ddadmin
03-24-2005, 09:27 AM
Hmm sorry but I don't understand most of what's typed above. Please correct the spelling mistakes, since right now it's not readable, at least for me. Also, include a URL to the script on DD you're referring to, per our posting guidelines: http://www.dynamicdrive.com/forums/showthread.php?t=6

dehm
03-24-2005, 09:43 AM
i saw the posting guidelines right after posting... sorry :D

I used the "Disable right mouse click script All" (http://www.dynamicdrive.com/dynamicindex9/noright.htm) in my website, but it doesn't work on the images (jpgs) alone, it only works if I make an individual html page (with the script included) for each image. Now, having a lot of images on my site, this would take a very very long time.
Here is a link to the site in question: www.art-roma.com/home.html

Is there a way to disable right mouse click for all the images at once? I tried pasting it in the index page, the home.html page but to no aval.

I apologize if I'm not being clear, it's getting kinda late and my brain is unable to run any script right now ;)

ddadmin
03-24-2005, 09:55 AM
Unfortunately no, since once the user views the image as a stand alone object on the page, by directly calling it in the browser's location bar, it bypasses any DHTML script. If you think about it, it bypasses everything, as it's loading just the image. In that case, no script- DHTML or otherwise- will have an effect on it.

Sorry,