View Full Version : Help needed with javascript:openimage

01-22-2009, 09:28 PM
Hi guys,

I've done some web design for the past year (no official training), but I am completely new to javascript. I use Dreamweaver CS3 and would like to know if someone can help me implement the javascript : openimage behaviour on a gallery of thumbnail images, by which a user can click on the small image, and a larger version appear on the same page (but not as a pop-up window). An example of what I mean is on the following website http://www.hammondkids.co.za/code/nursery.htm

Many thanks!

01-23-2009, 04:42 AM
I think you want Lightbox. There are many different lightbox scripts so you should use lightbox clones matric (http://planetozh.com/projects/lightbox-clones/) to find out which lightbox is right for you. The usual choice is Lightbox 2 (http://www.lokeshdhakar.com/projects/lightbox2/)

01-23-2009, 02:53 PM
This was very helpful, many thanks. It works beautifully!