dynamic script loading on NS6 
Author Message
 dynamic script loading on NS6

Hi,
Hope you can help me out to find cross-platform solution for my problem.
I found (thanks to this newsgroup) a number of ways to dynamically load
JavaScript into the page.
E.g. by using createElement("SCRIPT"), or createRange(), or by directly
scripting the <SCRIPT ID="somename"> tag like somename.src="newJavaScript".
All approaches above work fine for IE but none of them seems to be working
on NS6. Though, NS6 adds HTML to the page it doesn't parse the JavaScript
contents of the <SCRIPT> tag (I tried using "src" too) which makes the
JavaScript inaccessible even though it exists in the page.
Does anybody know how to make NS6 to load JavaScript after the page is
already loaded?

Thank you,
Dmitri.



Mon, 21 Jul 2003 04:19:23 GMT  
 dynamic script loading on NS6

Quote:

> Hi,
> Hope you can help me out to find cross-platform solution for my problem.
> I found (thanks to this newsgroup) a number of ways to dynamically load
> JavaScript into the page.
> E.g. by using createElement("SCRIPT"), or createRange(), or by directly
> scripting the <SCRIPT ID="somename"> tag like somename.src="newJavaScript".
> All approaches above work fine for IE but none of them seems to be working
> on NS6. Though, NS6 adds HTML to the page it doesn't parse the JavaScript
> contents of the <SCRIPT> tag (I tried using "src" too) which makes the
> JavaScript inaccessible even though it exists in the page.
> Does anybody know how to make NS6 to load JavaScript after the page is
> already loaded?

Per Netscape, irrespective of method, you can't.

http://developer.netscape.com/docs/technote/gecko/n6release.html

    Bug #18843 . . .

    "A SCRIPT added dynamically to a document is not executable."

Seems to me that the defining difference between IE4 and NN4
was that one could do dynamic page reflow and the other couldn't.

Unless Mozilla finds a way to enable this, I'd imagine that this
will become the defining difference between IE/Netscape 5+,
because without this capability, DOM Level-2 methods just
aren't nearly as useful.

- Peter



Mon, 21 Jul 2003 07:27:21 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Dynamic loading of script files

2. Adding dynamic driver loading to Ghostscript?

3. Dynamic Content - Loading specific ASP pages...

4. Dynamic Content - Loading specific ASP pages...

5. Why won't this work with NS6?

6. Does NS6 have document.all?

7. Determening NS6

8. NS6 vs NS4 and IE5

9. More ns6 problems

10. Browser check - NS6

11. Changing the mouse cursor in NS6+ browsers

12. Problem with forms in NS6.2

 

 
Powered by phpBB® Forum Software