PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Let me straight away describe the scenario. I want to create a table with 2 columns. The left one will list down all the photos available (thumbnail). Each of the photos can be clicked. Once I clicked any of the photo thombnail, the photo will be displayed on the right column of the table in its original size.
I have tried to used <A HREF=...></A> to each of the thumbnails. This will call the page itself and display the requested photo on the right side of the table.
However, I think it is not wise to call the page again and again each time I click on any of the thumbnails because the page will have to load all the thumbnails again. Do you have any idea how should I make it so that it will automatically display the photo without calling the page again.
If you have or can find some mouseover button javascript code, you can use it to do what you want to do. Instead of changing the image onMouseOver you would call he image swap onClick. You won't preload like mouseover code often does in the header.
But I thought image swap is for the same <A HREF..></A>. Instead I want to display the original image on the right column. The thumbnail is on the left column fo the table. They are different image.