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.
I just ran into this with some hand-coded pages on a server where I
didn't have the ability to use SSI (server-side includes)... so I figured
out a solution that seems to work, although any warnings/caveats from
those more experienced will be welcome.
I created a JavaScript file (called footer.js) that contained a series of
document.write statements to write, line-by-line, the footer I wanted.
Then each page in my site has a line at the right location that says
<script language="javascript" type="text/javascript"
src="./footer.js"></script> that drops the file right into my page.
The only drawback I can find is that it requires JavaScript to be enabled
in the viewing browser, but otherwise, it worked fine for my small,
internal project.
Hope this helps, and please, let me know if anyone knows of any
drawbacks...
Mike
On 02/13/2003 11:07 AM, Evan Martin (evan -dot- martin -at- garvin-allen -dot- com) wrote:
>I'm fairly inexperienced with web
>design, but I want to be able have my web pages display a footer that I can
>maintain in a single file. So when I change the text in the "footer" file,
>the footer will change on all of the pages that contain this footer.
Buy or upgrade to RoboHelp X3 today and receive the WebHelp
Merge Module for FREE ($299 value). RoboHelp X3's all-new
features include conditional text, completely re-engineered
printed documentation output, Context-sensitive Help Toolkit,
single-source layouts, and more!
Order online today at http://www.ehelp.com/techwr-l
---
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.