Linking to a frameset from an unframed page.

The scenario is that I have been tasked with creating a new landing page for a legacy framed site.

On that landing page I want to have a navigation menu to link to the framed pages. After that point the existing navigation will take over.

What is the correct way to do this? I know framesets went out with the ark but I have no desire to rebuild the whole site - and whats more they are a not for profit (penniless) org and don’t have the money for a rebuild.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No takers?

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you replace the existing frame with a smart frame, something written in PHP or JavaScript to recognize an extended URL with a querystring variable for the inner frame, then it’s possible. But if you’re on a flat page linking to a frameset, all you can do is link to the frameset. There’s no way to tell the frameset to open a particular page unless that’s built into the frame.

So imagine you replace index.html (the old frameset page) with index.php and it looks something like this:

Then you could target a particular page into the main frame by adding ?page=somepage to the end of the URL in your link. The bit where I add the .html to the end of the page name is a crude security measure, meant to keep someone from putting in page=/etc/passwd and getting any love out it.

Walter

On Jun 16, 2012, at 9:33 PM, DeltaDave wrote:

The scenario is that I have been tasked with creating a new landing page for a legacy framed site.

On that landing page I want to have a navigation menu to link to the framed pages. After that point the existing navigation will take over.

What is the correct way to do this? I know framesets went out with the ark but I have no desire to rebuild the whole site - and whats more they are a not for profit (penniless) org and don’t have the money for a rebuild.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter - not quite the easy solution I was hoping for but you have got me well on my way.

I will work on this and shout when I need some more assistance.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter

I managed to get this working as expected - after a bit of tweaking with frame Ids etc.

That has saved me a lot of hassle and page rebuilding.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options