Article View: comp.lang.javascript
Article #75Re: Inserting small portions of HTML code
From: Colm Mac C�rthaigh
Date: Sat, 02 Jan 1999 00:00
Date: Sat, 02 Jan 1999 00:00
14 lines
1269 bytes
1269 bytes
>* Eric Fisher >| I'm looking for a way to insert small portions of HTML code onto >| multiple pages. So when I change the single bit of code, the code on >| all pages will be changed. > You could put a javascript source reference on each page like: <script src="code.src"> </script> The file code.src would then contain the necessary document.write() information to write your HTML on each page without complicated ssi's.
Technical Details
Message-ID:
<76ln0q$as1$1@fire.medianet.ie>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<367817DB.FB45344C@rave.net> <Vqme2.787$v6.610@news.rdc1.sfba.home.com> <wkhfutbvdr.fsf@online.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10731d,fbe6a53e38c10ba1 X-Google-Attributes: gid10731d,public X-Google-Thread: fb3cb,fbe6a53e38c10ba1 X-Google-Attributes: gidfb3cb,public From: "Colm Mac C�rthaigh" <colmmacc@clubi.ie> Subject: Re: Inserting small portions of HTML code Date: 1999/01/02 Message-ID: <76ln0q$as1$1@fire.medianet.ie> X-Deja-AN: 428050533 References: <367817DB.FB45344C@rave.net> <Vqme2.787$v6.610@news.rdc1.sfba.home.com> <wkhfutbvdr.fsf@online.no> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Complaints-To: abuse@medianet.ie X-Trace: fire.medianet.ie 915300186 11137 194.133.100.168 (2 Jan 1999 18:03:06 GMT) Organization: MediaNet Ireland NNTP-Posting-Date: 2 Jan 1999 18:03:06 GMT Newsgroups: comp.lang.javascript,borland.public.intrabuilder.javascript