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

Subject: RE: Including content of one file of HTML in another?
From: "Haas, Guy" <ghaas -at- selectica -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Thu, 20 Dec 2001 10:26:41 -0800

Thanks, Richard,

It seems pretty elegant and simple, but it does require that
your visitor arrive with JavaScript enabled. What proportion
of those visitors have it turned off?

--Guy K. Haas gkhaas -at- usa -dot- net or ghaas -at- selectica -dot- com
Software Exegete in Silicon Valley

-----Original Message-----
From: Richard Smith [mailto:Richard -dot- Smith -at- windriver -dot- com]

To use JavaScript to include, all you do is this:

Step 1: ...

Step 2: ...

Step 3: ...


This is simple, and there surely are other ways to do it (probably even
better ways to do it with JavaScript). The benefit here is that you only
have one location of the navbar code to edit (much like a library item) but
you can edit it with any text editor. This doesn't require any proprietary
tool, any server side functionality, any real programming skill--as
evidenced by the fact that I did it ;-)


Richard Smith




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



Follow-Ups:

Previous by Author: Including content of one file of HTML in another?
Next by Author: RE: Single Sourcing
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