I am building a website that contains several different image galleries--reptiles, birds, and mammals. Being graphic heavy I am displaying thumbnails of each picture. I would like the viewer to be able to click on the thumbnail to view the larger image in a popup window. I would rather not have to type the name of every photo. Can a Javascript be written that will open a window using the name of the thumbnail image by removing the thumbnail identifier? All my thumbnail have "_thumb" as their thumbnail status identifier.
Example:
thumbnail imaged named: frog_thumb.jpg
larger image named: frog.jpg
Can a script be written that will drop "_thumb" from an image name to open up the large image frog.jpg in a popup window?
Thanks
Togo
Example:
thumbnail imaged named: frog_thumb.jpg
larger image named: frog.jpg
Can a script be written that will drop "_thumb" from an image name to open up the large image frog.jpg in a popup window?
Thanks
Togo
Comment