[Javascript] refresh on resize window/reload .js file only/a

Peter-Paul Koch gassinaumasis at hotmail.com
Sun May 20 06:28:20 CDT 2001


>And they're not working hard enough to overcome the probs.
>"Just checked in Netscape and if you give an ID to a JavaScript include"
>I don't get, this: include?

<SCRIPT SRC="whatever.js" ID></SCRIPT>

The 'ID' is enough to prevent the entire include from working in NN4. 
Strange but true.

>"Netscape 4 disregards the entire include (as it does with LINK tags to 
>stylesheets if you add 'ID')."
>Well, how do you control the appearance of the link content with css then?

No, I mean the LINK tag with which you define an external style sheet.

>Is it possible? At the moment I don't have any Navigator installed at all, 
>because I've lost interest in working for this browser 3 years ago.
>But I think they still stick to the NAME attribute, (No. I'm sure they 
>do!), and perhaps this can help:
><script id=theID NAME=theID src="">
></script>
><script>
>onload=theID.src="theSource.js"
></script>

Well, I don't want to give an ID to a SCRIPT tag (I've forgotten what the 
original question was). I don't think this will work, but that's merely my 
Netscape 4 instinct speaking.

ppk

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the Javascript mailing list