I have a simple image gallery. I have saved 2 versions of the image in Photoshop. One small and one large. The was I have it right now, you click the small image and the large image shows up on it's own page. What I'm trying to do is make it so the image enlarges, but the user can click off of the image to close, instead of being redirected to a whole new page and having to click the back button to get back to the gallery. Any help would be appreciated. This is the code I have now. <a href="images/image1large.png"> <img src="images/image1.png" width="120" height="120" /></a> Code (markup):
Thanks. Had some trouble initially, I wouldn't recommend copy/pasting the code for anyone else who sees this. I do like the result though. With some added CSS/jquery it looks fantastic. Thanks again hang.