PDA

View Full Version : Help with Disable Right Click - Images



herronpoint
05-04-2009, 10:54 PM
1) Script Title:
Disable right mouse click script II (on images)

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex9/noright2.htm

3) Describe problem:
I have a Blogger Blog.
http://homeschooling4life.blogspot.com/
I would like to disable the right click on images.
Yes, I realize I can resize, watermark and/or shrinkwrap... but I would also like to disable the right click - save feature.

Issue being, I found script on your site, but it is not working on my blog. This is what it says as an error when I try to insert the code:

"Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The entity name must immediately follow the '&' in the entity reference."

What should I do now??
Thanks,
Zindra

X96 Web Design
05-05-2009, 12:15 AM
I'm pretty sure that means that the script can't be used in Blogger because of something between the template and the script.

Try to find a way to put the code in an external file, and then link to that instead.

What Blogger's doing is trying to parse the JavaScript as XML. So if you take the Javascript out and have a script tag linking to the file, it should be fine.

Hope this helps...

// X96 \\