I’m a newbie to Java and I need a little help. I have a page of thumbnails that opens a pop-up window using the “window.open” method. When the pop-up window is opened, the thumbnail page refreshes. Is there any way to avoid this?
@mityaJul 31.2004 — #How are you opening the pop-up, via a link and an onClick event? If so, what is your link's href? Something on your page (or, less likely, in the script) is telling the page to go somewhere.
@HaganeNoKokoroJul 31.2004 — #I think the offending part is <i> </i>location='www.url.com'
that part tells the window to go to a new location (although if www.url.com is the current page, this boils down to the same as a refresh). Try taking that out, like <i> </i><a href="javascript:window.open('newPage.html', '_blank', 'HEIGHT=675, WIDTH=919, SCROLLBARS=YES');"><img src="thumbnail.jpg" width="66" height="100" border="0"></a>