Log in

View Full Version : Creating a pop up window



Trapezium
08-28-2006, 12:47 PM
I'm a graphic designer and, until recently, I've never really had a use for HTML. My intentions are to create a (relatively) simple portfolio for myself, and I've got almost everything I need, but I'm having troubles with creating a pop up window.

I want a user to click on the thumbnail of an image, and for the full-size version to load in a new window.

I'm comfortable with the 'img src' and 'a href' tags, but I'm not certain on how to go about this, so any help on the matter is appreciated.

Trapezium.

mburt
08-28-2006, 12:52 PM
<a href="image.gif" target="_blank"><img src="image.gif"></a>

The href for the link will open the image file in your browser, and the target="_blank" opens it in a new window.

Trapezium
08-28-2006, 12:54 PM
Thank you very much for your help, mburt.