RE: Including content of one file of HTML in another?

Subject: RE: Including content of one file of HTML in another?
From: Michele Marques <MarquesM -at- autros -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Wed, 19 Dec 2001 15:13:39 -0500

Haas, Guy asks on behalf of his daughter:

>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 content? That would make it a
>LOT easier to modify the navbar, as you wouldn't have to tweak
>EVERY PAGE to do it.

> [...]She has HomeSite and Dreamweaver at her
> disposal, but would rather not do wholesale search-and-replace
> to make the same navbar change in each of N files in the site.

There are a couple of ways to do this:
(1) Use Frames. This is really simple to set up and is not dependent on the
web editor. The navigation bar will be in one pane, bringing up pages in the
other panes. Once you set up the frames, all the rest of the pages should
work without extra tweaking.

(2) Set up a Dreamweaver template that includes the navigation bar and any
other content that should appear on most pages. Then when she creates new
pages for the site, they should be based on that template. When she changes
the template, she will automatically be asked if she wants the pages based
on that template to be updated. If she has already created the pages, I am
not sure whether she can apply the template to the existing pages.

------------------------------------------------------------------------
Michele Marques, Technical Communicator
AUTROS Healthcare Solutions, Inc.
marquesm -at- autros -dot- com <mailto:marquesm -at- autros -dot- com>

This material is intended for the use of the individual
to whom it is addressed and may contain information that
is privileged, proprietary, confidential and exempt from
disclosure. If you are not the intended recipient or the
person responsible for delivering the material to the
intended recipient, you are notified that dissemination,
distribution or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please contact the sender immediately via e-mail and destroy this message
accordingly.


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Collect Royalties, Not Rejection Letters! Tell us your rejection story when you
submit your manuscript to iUniverse Nov. 6 -Dec. 15 and get five free copies of
your book. What are you waiting for? http://www.iuniverse.com/media/techwr

Have you looked at the new content on TECHWR-L lately?
See http://www.raycomm.com/techwhirl/ and check it out.

---
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.


Previous by Author: RE: Encouraging users to read online help
Next by Author: RE: Network Security Article Clarification
Previous by Thread: RE: Including content of one file of HTML in another?
Next by Thread: RE: Including content of one file of HTML in another?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads