Netscape keeps loading a javascript page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • leegold2

    #1

    Netscape keeps loading a javascript page

    I've noticed for a long time with Netscape and Mozilla. Given a page
    with Javascript - at least the code I'm testing - the page will render
    correctly but continues to load until I press stop. When I try it on IE
    or Opera it doesn't do this.

    Has anybody ever noticed this?

    Lee G.
  • Martin Honnen

    #2
    Re: Netscape keeps loading a javascript page



    leegold2 wrote:
    [color=blue]
    > I've noticed for a long time with Netscape and Mozilla. Given a page
    > with Javascript - at least the code I'm testing - the page will render
    > correctly but continues to load until I press stop. When I try it on IE
    > or Opera it doesn't do this.
    >
    > Has anybody ever noticed this?[/color]

    Maybe you are using a construct alike
    var win = window.open('', 'windowName', 'windowFeatures ');
    win.document.op en();
    win.document.wr ite('<p>Kibolog y for all.<\/p>');
    without calling
    win.document.cl ose();
    after doing the document.write, in that case the document stream has not
    been closed and Netscape/Mozilla therefore indicate that the page is
    still being loaded (as there could be further document.write statements
    to add to the document).
    If the above is not what you are doing then you should post a URL to a
    test case demonstrating the problem.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/

    Comment

    Working...