TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Re: Including content of one file of HTML in another?
Subject:Re: Including content of one file of HTML in another? From:John Posada <jposada01 -at- yahoo -dot- com> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Wed, 19 Dec 2001 12:18:42 -0800 (PST)
> Guy Haas is looking for help for his daughter, who asks: <<"Isn't
> there a
> way to create a navigation bar and store it in one file, and then
> have the
> pages of a website call it from that file and stick it at the top
> of their
Hate to say this, but Front Page does this well with no templates,
Create a paage called NavTop.htm and NavSide.htm
These are the navigation bar that you'd like to include on each page.
NavTop is in horizontal format for along the top or bottom of the
page and NavSide is in vertical format.
In each page, create the menu system.
On each page that you want to include a navigation menu, use a
feature of FP called "IncludePage" and specify the appropriate
navigation page.
Since I usualy format a page using a table matrix, I'll either create
a row or column and place this element in the cell. This element will
insert then insert the page being referenced (NavTop or NavSide) into
the page where you've referenced the page.
Now, when I add, change or remove pages on the vertical and
horizontal navigattion, all pages containing that file are updated.
When you do it through FR Explorer, when you save the site, all pages
are updated without having to open and save the pages individualy.
I know how a number of people feel about FP. However, the question
was can it be done. yes it can, and FWIW, the most recent FP uses
very little "bad code".
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Be a published author! iUniverse gives you: a high-quality paperback, a
custom cover design, and distribution to 25,000 retailers. And it's
affordable. Join our almost 10,000 published authors today. http://www.iuniverse.com/media/techwr
Your monthly sponsorship message here reaches more than
5000 technical writers, providing 2,500,000+ monthly impressions.
Contact Eric (ejray -at- raycomm -dot- com) for details and availability.
---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.