RE: external javascript files
by Chuck Evans <Chucke(at)captura.com>
|
| Date: |
Fri, 5 May 2000 09:16:00 -0700 |
| To: |
"'Jeff Adelsberger'" <jade(at)edoc.com>, hwg-languages(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
I do it on all my pages, especially for javascript that is the same on all
pages. Works like a charm. The syntax is:
<script language="JavaScript" src="https://hwg.org/includes/js/yourscript.js"></script>
And remember to NOT put the <script> and </script> tags in the .js file
itself.
---------------------------------------------------------
Chuck Evans
Web Marketing Manager
Captura Software, Inc.
(425) 424-1155
chucke(at)captura.com
www.captura.com
-----Original Message-----
From: Jeff Adelsberger [mailto:jade(at)edoc.com]
I'm working on a project that requires the same javascript to be used
across several pages, what are the pros and cons of using an external .js
file to serve javascript?
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.