PDA

View Full Version : Targeting frames in different pages



plymbloke
September 4th, 2007, 02:00 PM
Hello..

I have two pages, one with photos on and the other with a display panel, where the photos will appear. The user needs to be able to click on the 'gallery' page, and the image needs to appear in the frame on the other 'display' page.

I am unsure how to target the frame from the other page, the code im using at present opens the correct image, but into a new page entirely

<a href="images/products/display/Breakwater Lighthouse.JPG" target="_displayframe" _products.html""><img src="images/products/small/Breakwater Lighthouse.JPG" width="31" height="41" border="0" /></a></div></td>

The name of the gallery page is called 'product_list.html' and the display page is 'products.html' with the desired target frame being called 'displayframe'

any ideas would be gratefully recieved

cheers

chris

Esoltas
September 4th, 2007, 06:52 PM
is it all possible to post a link? That would help me help you.
I don't want to misinterpret.

plymbloke
September 9th, 2007, 10:34 AM
ive never been very good at explaining lol - maybe this picture will help. there is no link to post at the moment vor a couple of reasons, but when I do have it online, the larger iamge opens in a new page, and not in the frame that i want it too.

MikeDS
September 9th, 2007, 03:39 PM
I've noticed that you've set the target to _displayFrame, where the name of the frame is displayFrame. Basically, you don't need the underscore in the target. Maybe give that a try and see what happens...

plymbloke
September 10th, 2007, 01:53 PM
ok cheers, ill give that a go:}

plymbloke
September 10th, 2007, 02:02 PM
that works great, thank you!