PDA

View Full Version : How can I set the size of a new window?


Bodger Bowham
07-01-2008, 12:05 PM
Hi,
I have a gallery of images and I want the user to be able to click on the image to see an enlarged version in a new window.
However, what I want to do is set the size of the new window when it opens, so it appears as a kind of pop-up filled by the image rather than a full size page with an image in the top left.

Could anybody let me know of a piece of html or js code for this?

abduraooft
07-01-2008, 12:36 PM
see http://www.w3schools.com/HTMLDOM/met_win_open.asp for examples