Results 1 to 4 of 4

Thread: pb with the rmb deny script

  1. #1
    Join Date
    Mar 2005
    Location
    tx
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default pb with the rmb deny script

    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
    Last edited by dehm; 03-24-2005 at 09:28 AM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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

  3. #3
    Join Date
    Mar 2005
    Location
    tx
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i saw the posting guidelines right after posting... sorry

    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

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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,

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
  •