View Single Post
  #1 (permalink)  
Old September 2nd, 2003, 04:27 AM
Burton Burton is offline
Authorized User
 
Join Date: Aug 2003
Location: , , .
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pop-up window, on top of webpage

I have a small "thumb" picture on a htm-page and when one clicks on the image i want a new window opening of that picture in full size (maximized).

Here I have an example of what it COULD (mustn't be same) look like:

<body>
 <p>
<a href="PICTURE.jpg" OnClick="window.open('PICTURE.jpg', 'big', 'fullscreen=yes')"><img border="0" src="PICTURE.jpg" width="172" height="129">
 </p>
 </a>
</body>

The only problem i have here is that the image opens twice; once redirected (not needed), and once in new window (correct). Also, I need a 'close window' link to go back to previous page.