I have been told that you use Includes to repeat web pages within tables. For example CNN may use it to repeat their article headings across pages. How do I use these things. My site is in frames and I want to move to using tables without having to reenter the same info for each page, and then have the headache of updating each page.
You can either use Frontpage's Include Webbot, or change your page to an ASP page, and use
<!--#include file="filename"-->
where "filename" is the name of the file you wish to include, could be something like a banner, a menu, etc.
Originally posted by Gary Dix: I have been told that you use Includes to repeat web pages within tables. For example CNN may use it to repeat their article headings across pages. How do I use these things. My site is in frames and I want to move to using tables without having to reenter the same info for each page, and then have the headache of updating each page.
"My other car is also a Porsche"
-------------------------
PIV-3.0GHz, 800MHz FSB; 1GB 400MHz SDRAM; Ati Radeon 9800 Pro; SB Audigy 2; Windows XP SP1
Old rig: Abit BH6, rev. 1.01; PIII-750@931; 256MB PC133 Crucial RAM; Hercules Prophet 4500; Diamond Monster MX300; DirectX 8.0a; 60 GB IBM Deskstar 60XP
Originally posted by Dengin: You can either use Frontpage's Include Webbot, or change your page to an ASP page, and use
<!--#include file="filename"-->
where "filename" is the name of the file you wish to include, could be something like a banner, a menu, etc.
It doesn't need to be an ASP page.
Rename your html page to "*.shtml"
This tells the webserver to look for "SSI" commands, almost all webservers support this these days.
There are a ton of differnet SSI commands, but yeah, the one you're looking for was stated above.
Problem is, when testing the page on your own harddrive, this Include wont work, because you're viewing it "straight-up," not through a webserver that preprocesses the SSI commands for you.
Bookmarks