|
-
'Includes"
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.
Any assistance is well appreciated.
Check out my site, and send me some comments, http://go.to/learnit
-
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.
Any assistance is well appreciated.
Check out my site, and send me some comments, http://go.to/learnit
------------------
Abit BH6
PIII-450 @ 504
256MB RAM
Viper 770 non-Ultra @ 150/183
NVidia 6.50
Diamond Monster MX300
Vortex 2 v.2048
"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
-
Ursus Arctos Moderatis
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.
It will only work on the webserver.
-
Ex-***
Or set up your own server and test it on there. 
------------------
Now listening to:
Kings Of Convenience - Quiet Is The New Loud
T-Bird 1000@1100Mhz
Now listening to various rock and metal
143rd member to join Sharkyforums.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|