GEEIMATREE
11-04-2005, 06:59 PM
I am doing a web page for a garden club. We have 500 images of flowers. I have created a web page listing all the flowers alphabetetically. Is there an easy way to click on a name and have the picture pop up?
|
Click to See Complete Forum and Search --> : thumbnail photos GEEIMATREE 11-04-2005, 06:59 PM I am doing a web page for a garden club. We have 500 images of flowers. I have created a web page listing all the flowers alphabetetically. Is there an easy way to click on a name and have the picture pop up? JAPerson 11-06-2005, 12:42 AM Not sure what you ment by "pop up". Pop up window? If so, try the code below. If not, let me know and I (or possibly someone else) will throw something else at you. :) <A HREF="current.html" onClick="window.open('rose.jpg', 'popup01', config='height=410,width=453')">Rose</A> This is a basic link command that opens a new window. You need to modify everything in bold to fit your needs. 1. current.html: This simply needs to be the same as the page it is on so that the page refreshes itself besides opening up a new window. 2. rose.jpg: This is the file name of the image you want to pop up. 3. popup01: The popup window's target name. Can be any name. 4 & 5. height and width: The size of the popup window which will be the size of your image + 20. If your image is 300 x 300, then you should use 320 x 320 as your window size. 6. Rose: The word(s) the user sees and needs to click on. Just a bit more for your window's target name. If you want each image to pop up in a new window, then you must use different target names for each link. If you want the images to all appear in the same window, then keep the target name the same for each link. Just know that once the window is open, you can't resize it. So all of your images must be of the same size if using just one pop up window for all links. Mr J 11-06-2005, 03:43 AM You could possibly use something like this www.huntingground.freeserve.co.uk/webplus/window/pop_reuse.htm or take a look at some of the gallery scripts www.huntingground.freeserve.co.uk/scripts/snav.htm webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |