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.
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.