Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Sep 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Two popups, same page

    I've been surfing for a while but have not found exactly what I need. Hopefully someone can help.

    I have a gallery page with thumbnail images. Under each image there's a java link that opens a popup with an html document. I would like to add a link to each thumbnail that opens another popup with the large image. How would I do this?

    My thanks in advance.

    Suzanne

  • #2
    Regular Coder
    Join Date
    Aug 2005
    Location
    Toronto, ON, Canada
    Posts
    231
    Thanks
    0
    Thanked 0 Times in 0 Posts
    instead of links put buttons with onclick="open2pu(1);return false;"

    function open2pu(thumbIdx) {
    window.open(thumbIdx + '.html',......
    window.open(thumbIdx + '.jpg',......
    }
    rm -f /

  • #3
    New to the CF scene
    Join Date
    Sep 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you for responding.* I'm lost. I've made a button, but I think I'm doing something incorrectly. It looks so simple yet I can't get it to work. Can you give me an example of exactly how you would do it so I can just copy, paste and edit?

    My knowledge is limited, so any and all help is appreciated.

    Suz

  • #4
    Regular Coder
    Join Date
    Aug 2005
    Location
    Toronto, ON, Canada
    Posts
    231
    Thanks
    0
    Thanked 0 Times in 0 Posts
    rm -f /


  •  

    Posting Permissions

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