I know frames are pretty much outdated and loathed, but our site currently contains frames.
We use it to keep a navigation bar on the screen at all times, so that users can click on the links in the navigation bar to get away from whatever it is they're viewing.
Unfortuately, because of the fact the site is in frames, the main site administrator has it set such that every clicked link has a base target of "_parent" and clicking on a link takes you to another framed page that contains the same navigation bar and the new page.
(Say, the link was a link to a comics section. Clicking on the link, loads a new frames page containing the navigation bar in one frame and the comics page in the other).
The reason for this, or so he says, is so that people who enter the site from links they find on a search engine like Google, when clicking on a link will always regain the use of the navigation bar.
In my opinion, this defeats the purpose of frames, which I see as a tool to keep the navigation bar permanently on screen without refreshing it.
As you can imagine, the server is filled with HTML files that are nothing more than frames pages, holders for the contents, and it's starting to get on my nerves, especially now that I'm implementing CSS.
(Maybe it's best if you see the site for yourself. It's at
http://www.starwing.co.uk. See how the frames refresh with every click of the link? I'm assuming that's very annoying for dial-up users and the loading time for the updates page is also pretty long too).
Now that the background's under way, let me ask the questions.
I'm looking for a new way to set up the site. I want to ensure that a navigation bar will always be on screen, so that the visitor can use it, without using frames but also in such a way that if I want to add links to the navigation bar, all I have to do is add links to one file, instead of several files all containing copies of the navigation bar code.
Is there a simple way to do this, preferably not using server-side script (since I work on the site offline and hence must have offline access to the navigation bar)?
Next, if there is no viable method of doing this without using server-side script, is there a way of reloading the page for visitors that do not enter the site via the main page (and thus do not have the navigation bar loaded) such that the frames page with the navigation bar is loaded?
I realise that this post may seem quite complicated and long-winded, so if you need clarifying, please don't hesitate to ask. Thank you for taking the time out to help me.