[thelist] [fwd] Javascript and the LINK Element

Richard Bennett richard.bennett at skynet.be
Thu Sep 13 18:40:37 CDT 2001

err, I was confused by "linking .js files"
I was comparing javascript included in a document using SSI, and using
<script language="Javascript" src="script.js"></script>

As far as I understand <link> is used for linking stylesheets, in NS4 these
can also be javascript-stylesheets, but not normal script files. If someone
knows otherwise please expand on this.


----- Original Message -----
From: "Craig Saila" <crsaila at yahoo.ca>
To: <thelist at lists.evolt.org>
Sent: Thursday, September 13, 2001 3:33 PM
Subject: Re: [thelist] [fwd] Javascript and the LINK Element

> Richard Bennett wrote:
> > Using <link> shouldn't be any slower, and has the advantage that the .js
> > files stay in the browsers cache, and are only downloaded once. So your
> Doesn't the .js also cache if you also call it through
> <script type="text/css" src="file.js">?
> --
> Cheers,
> Craig Saila
> ------------------------------------------
> craig at saila.com  :  http://www.saila.com/
> ------------------------------------------
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list