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

    Java image popup difficulty

    I'm an online web design student and i'm currently taking a javascript class
    Ive used java in the past but that was ten years ago so ive been spending time refamiliarizing myself with it
    I've ran into a problem with the popup coding I was given to use
    I have to take this image gallery and make the image thumbnails pop up into the larger view of the image using just the java pop up window, but somehow for some reason my coding is opening up the image in both windows, the window that the thumbnails are on and the separate window, its frustrating me to death! i have to keep hitting the back button on the main page whenever i click on an image link because it opens it in both windows simultaenously. i have to submit the project because it's due but i want to work on getting this problem resolved for the future. I've attached a plain text notepad document to my post so you can see the coding
    Attached Files Attached Files

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Portsmouth UK
    Thanked 513 Times in 500 Posts
    <td width="200">
     <a href="image_1.html"onclick="window.open('image_1.html','','width=505,height=454');return false;">
    <img src="images/sm_007.jpg" alt="small picture" width="150" height="120" border="1" /></a>
    <br />

    God Loves You and will never love you less.


    If my post has been useful please donate to http://www.operationsmile.org.uk/


    Posting Permissions

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