Results 1 to 2 of 2

Thread: Help with Disable Right Click - Images

  1. #1
    Join Date
    Apr 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with Disable Right Click - Images

    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

  2. #2
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    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 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •