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.
For the most part, javascript is enabled by default in most viewer's
browsers. Unless a user has specifically disabled javascript (e.g. opted for
the highest security mode in their browser), your javascript solution will
work fine. Then all you need to do, as you said, is:
add "<script language="javascript" type="text/javascript"
src="./footer.js"></script>" (without the quotes) to the bottom of each of
your pages, and;
maintain what you want displayed in footer.js.
Shouldn't be any caveats in this instance, unless some of the people that
will be viewing your pages are using very, very, old browsers.
Hope that helps,
Jan Cohen
----- Original Message -----
From: "Mike Stockman" <mstockman -at- mac -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Sent: Thursday, February 13, 2003 11:49 AM
Subject: Re: HTML/Web design question
>
> 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.
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.