Actually it still works if I call js1.js from the page:
<SCRIPT language="JavaScript" src="js1.js"></SCRIPT>

and call js2.js from js1.js:
document.write('<SCRIPT language="JavaScript" src="js2.js"><\/SCRIPT>')

and heart.js from js2.js:
document.write('<SCRIPT language="JavaScript" src="heart.js"><\/SCRIPT>')

I would imagine it would work in infinite number of times.

It has to be something else.

Glen Deas

----- Original Message -----
From: "Jonah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 4:25 PM
Subject: RE: [Dynapi-Help] loading external js files


> wierd. this actually works fine in my ie 5.5.  my problem may have arose
> from trying similar code from within another js file.  I wonder why that
> would make a difference?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Glen Deas
> Sent: Thursday, July 19, 2001 2:04 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Dynapi-Help] loading external js files
>
>
> I only have ie 5.5.  Is this not working in other ie browsers?
> http://www.sandymermaid.com/jstest.html
>
>
> ----- Original Message -----
> From: "Stephan Tolksdorf" <[EMAIL PROTECTED]>
> To: "Jonah" <[EMAIL PROTECTED]>
> Sent: Wednesday, July 18, 2001 2:21 AM
> Subject: Re: [Dynapi-Help] loading external js files
>
>
> > > am having a problem loading external js files in ie using
> document.write()
> > > the following code works fine in netscape however, and as far as i can
> tell
> > > is the same code used by DynAPI.include():
> > >
> > > document.write('<SCRIPT language="Javascript1.2"
> > > src="externalJsFile.js"><\/SCRIPT>')
> >
> > I don't know the context of that line, but here is my wild guess:
> >
> > In the Netscape implementation, version 1.2 of the language differs
> > in some noticeable ways from all other Netscape versions.
> > You should NOT use "Javascript1.2" for loading external scripts, it is
> > a relict of times where you had to prevent Netscape 3 from loading a
> > script...
> >
> > For some interesting details look at:
> > http://bugzilla.mozilla.org/show_bug.cgi?id=86166
> >
> > Stephan
> >
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to