...

View Full Version : Java image popup difficulty



danielle1987
12-31-2011, 10:04 PM
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

vwphillips
01-01-2012, 10:28 AM
<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 />
</td>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum