Frames Navigation Dilemma

I am aware frames are essentially outdated and loathed, yet our site at present contains frames.

We use it to keep a navigation bar to the screen at all times, so that users can mouse click on the links in the navigation bar to get away from whatever it is usually they’re viewing.

Unfortuately, because of the fact the site is within frames, the main web site administrator has the idea set such that each clicked link has a base target associated with " _parent" and clicking for a link takes one to another framed page which contains the same navigation bar and the new page.

(Say, the link was a connection to a comics part. Clicking on that link, loads a brand new frames page that contains the navigation bar available as one frame and the actual comics page in the other).

The reason for this, or thus he says, is in order that people who enter your website from links they find over a search engine similar to Google, when clicking using a link will always regain the use of the navigation pub.

I think, this defeats the reason for frames, which I see as a tool to maintain your navigation bar once and for good on screen without having refreshing it.

As you can imagine, the server is filled with HTML files which can be nothing more than frames pages, holders to the contents, and it’s starting to obtain on my nerves, especially now which I’m implementing CSS.

(Maybe it is best if you see coursesmart for yourself. It’s at http: //www. starwing. company. uk. See what sort of frames refresh using every click with the link I’m assuming that’s very annoying for dial-up users and the loading time for any updates page can be pretty long too).

Since the background’s below way, let my family ask the queries.

I’m looking for your new way to begin the site. I want in order that a navigation bar can be on screen, in order that the visitor incorporate the use of it, without using structures but also in such a way that if I need to add links towards the navigation bar, all I must do is add links to at least one file, instead of a few files all containing copies with the navigation bar program code.

Is there an effective way to accomplish this, preferably not applying server-side script (since I work on the webpage offline and hence should have offline access towards navigation bar)

Next, if there will be no viable approach to doing this without the need for server-side script, is there a better way of reloading the particular page for visitors that usually do not enter the site via the leading page (and thus do not have the navigation bar loaded) such how the frames page using the navigation bar can be loaded

I realise that this post may sound quite complicated as well as long-winded, so when you need clarifying, please will not hesitate to question. Thank you for making the effort out to assist me.

That’s the issue with frames… you run the risk of your content being listed in a search engine directly thus bypassing this outer frame page when using the navigation…

You talk about working on the webpage " offline" and hence having to have offline use of the pages… have you thought to be installing a webserver on your own machine

There’s an extremely light webserver with regard to Windows that sustains SSI etc. labeled BRS Webweaver…

http: //www. brswebweaver. com/

Believe then split your Code into sections (the selection being one) and include those sections into each of your pages.

Sean

Effectively, when I reported work offline, the chief computer on which nearly all of my files is not connected to the online world. To upload information, I use your USB memory go by transfer the files with a computer that can have Internet obtain.

Yet yes, your solution does manage to make it possible with luck to use server-side program code now. (If simply I knew some).

Server-side includes including what seanmiller pointed out are just one-liners that enable you to include one internet page in another. They usually look like <! –#include file=" filename" –> HA or something same. PHP is also very easy to use as regards contains, since for PHP it is just < php include(‘filename’); > HA. Using PHP will probably require a extra heavyweight server just like IIS or Apache, even so.

Really, if you simply include one record from another, you do not actually need to operate a webserver. It is possible to edit the pages separately, and then put them around the server whenever you feel like it. Confident, you lose the option to see what it’ll mimic when the web sites are all chucked together, but it’s usually simple enough, especially when you simply put a navbar with a main content area, to visualize this yourself.

And also, whenever you want to see them together, it is possible to always make a test page and substitute the include directive with the code from other page, and then take a look at it as plain HTML.

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *