View Full Version : iframes - How do display content selected in one page to show in another.

05-29-2012, 05:25 PM
Hi Guys,

I've seen loads of posting on this subject but mine's a simple query which just (I hope) needs a simple answer. Since most of the posts I've seen related to web pages in iframes and I'm dealing with images.

So, I've created a page with two iframes, one on the left and one on the right.

The right hand iframe displays a list of small images (thumbnails) and titles.
The iframe on the left is empty, until someone selects an item from my right hand iframe list, I then want that image to display in that empty iframe on the left.
The iframe on the left is required because I don't want people to scroll and loose the image window on the left, it's easier to just add to my listing and faster to load, so simply scroll within the iframe, click and see the full image in the left iframe.
So, the question is... Is there e HTML/CSS solution or is it a case of building a suitable Javascript using variable in some way.
I know how to work with iframes but I'm lost as getting my selected images from one HTML page to show in a frame on another HTML page.

Thank you.