Loading the correct frameset with page

I

Ian

Here's an interesting delema.

I have two on-line manuals built with frames. Each has a unique
frameset. Some of the pages have related material and are linked.

Is there a way to have a page from Manual B called from manual A,
which will cause Manual B's frameset to load? In other words, I do
not want Manual B's page to load into the wrong frameset as the
navigation information will be wrong.

The same process should work for linking to Manual A from B.

Any thoughts? Much appreciated.
 
K

kaeli

I have two on-line manuals built with frames. Each has a unique
frameset. Some of the pages have related material and are linked.

Is there a way to have a page from Manual B called from manual A,
which will cause Manual B's frameset to load? In other words, I do
not want Manual B's page to load into the wrong frameset as the
navigation information will be wrong.

The same process should work for linking to Manual A from B.

Any thoughts? Much appreciated.

In each page that is supposed to be framed, put in a check to make sure it is
in the proper frame, and break out and reload as appropriate.
You will need dynamic framesets to achieve this properly, with the page
loaded in the frameset. This will also prevent other sites from framing you.

Then the pages link like so:
<a href="http://myserver.com/myFramsetPage.html?pageToLoad=somePage.html">
some link</a>
The page somePage.html has code that checks to see if it is the proper
frameset. It sees it isn't, then reloads the frameset with itself as
pageToLoad. The frameset loads and sets the right page in there.

I posted javascript for a dynamic frameset yesterday, IIRC. Server-side is
better, but if you don't have that, you can use JS.

HTH
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top