Re: HTML/Web design question

Subject: Re: HTML/Web design question
From: "Jan Cohen" <familyforever -at- mindspring -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Thu, 13 Feb 2003 12:04:11 -0500


Hi Mike,

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.



Follow-Ups:

Previous by Author: Re: HTML/Web design question
Next by Author: Re: TOOLS: quiet keyboard
Previous by Thread: Re: HTML/Web design question
Next by Thread: RE: HTML/Web design question - THANKS


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


Sponsored Ads