Hi everyone,
I have a catalogue page with a list of images. Each image has a rollover pop up offset larger image. I now want to send the image when clicked to another page to display as a larger image. I think this can be done using the get elementbyid(image)src. but I am not sure of the syntax. Once the image and source have been identified I would like to know a good way of showing it in the other page as a larger image. Can anyone help please?
You can just use a regular hyperlink... Unless I'm missing something.
Hi donatello,
a regular hyperlink would go something like <href anotherpage?name of image /a> could you eleborate for me please. I have a list of images and when one is clicked i want it to be displayed as a larger image in another page. But I only want to use one page for the larger image to display, so that when a different image is clicked then just that image is passed. sorry if this is a bit vague, i hope you understand what I'm trying to do, can you help? thanks
You don't have to do it like that, you can simply use an anchor tag (< a>) to link to an image directly if that is what you wish to do.
Also, reconsider renaming your images with something more Search Engine friendly than img2334 or some such, better puppy-dog.jpg than img22334.jpg
Post some sample code and it will be easier to help.
You can experiment on jsfiddle (http://jsfiddle.net). That also makes it easy for me to modify your code and demo it.
thanks Donatello but I think I am going to have to approach the problem from another angle using PHP and MySql. I've got wampserver installed and coffeetime editor. Thanks anyway
Last edited by LennyOneStep; 08-20-2012 at 11:38 AM.
Reason: unable to post folder or html pages
Bookmarks