Click to See Complete Forum and Search --> : Linking in frames


Caspar
10-21-2003, 03:41 PM
Hello all,

My problem is the following: the pages consists of two frames: the upper one contains the menu, the lower the text. Nothing difficult, but off course the contence of the lower frame is changing. Now I want to create different pages for the lower frame, each with an own directory (So page1/index.html, page2/index.html, etc..)

The problem is that I want to access a pdf file in each directory (So page1/page.pdf, page2/print.pd") by using a button in the upper frame.

How can I solve this without having to make a menu in the upper frame for each page.

Your help is truly appreciated.

Best regards,


Caspar

spinnyscripter
10-21-2003, 03:51 PM
HAve you tried using the NAME tag in the frames page and the TARGET tag in the links

its a bittricky but i done it once

Caspar
10-21-2003, 04:30 PM
Yes, I have tried the target and name tags. However a link in the upper frame links to a path relative to the source of this frame. So when the upper frame contains upper/menu.html and the lower frame page1/index.html the link index1.html in the menu will give you upper/index1.html in the lower frame. However I want to load page1/index1.html to be loaded.

Anyway thanks for your suggestion.

Best regards,

Caspar