PDA

View Full Version : Using a table as a frame...


But What IF
8-23-03, 01:38 PM
I have tried frames before - I hate them, and never want to see them again, so I have started using tables. All is well, apart from one thing. I have what would be the equivalent of 2 frames. A main one, and a menu and these appear on every page. However, the nature of the menu means that it is regularly getting changed, and there are many pages which means it takes a long time to paste the same cell on every page I have. Is there any quick way of doing this without using frames?
Thanks

rainbore
8-23-03, 02:13 PM
I wrote a tutorial on this topic that gives you several alternatives to frames for navigation. See my No-Frames Navigation System. (http://www.rainbo.net/pub/nfNavMenu/nfNavMenu.html) If you scroll down to the bottom of the first page you'll see a button that will let you download all of the pages so you can see how everything works on your own. Good luck!

Rick_E
8-23-03, 02:17 PM
If you're using FrontPage, create your menu as a separate HTML page. Then on each page where you want the menu, select the Tools menu and choose Insert... Web Component... Included Content... Page. The changed menu page will be inserted automatically each time.

There's probably also a simple way of doing this with a line of PHP scripting.

tryton
8-23-03, 04:01 PM
I just read an article on this type of thing last week. If you type ".shtml" into google, a tutorial should come up talking about being able to change tables all at once. Comes in handy particularly when dealing with changing an address located on several pages.

Trip59
8-24-03, 02:32 AM
almost the same issue with .php includes. the top and bottom of each page is the same, I have them in separate files (will upload after tweeking it some) this way, same parts on each page, all changed in one file outside the page.

But What IF
8-26-03, 06:30 PM
thanks guys - just what I needed. For the minute I've gone with the frontpage - include page. It works quite well, save 1 annoying thing, but the server side includes look way too complicated, and i just didnt understand the java thing :)
Thanks though

Tidane
8-30-03, 06:05 PM
I used to use .shtml, but my local system wouldn't let it show.

But What IF
8-30-03, 06:07 PM
It isn't nearly as complex as I thought, and SSI is very good
Would recommend it
Thanks for the help everyone