W3C home > Mailing lists > Public > www-svg@w3.org > October 2000

Workaround for Netscape SVG window.open and window.location update problems.

From: Dave Apman <dave.apman@boeing.com>
Date: Fri, 20 Oct 2000 11:09:32 -0700
Message-Id: <012e01c03ac0$e590fc70$af812a82@rt.cs.boeing.com>
To: (wrong string) é M. Winter" <andre.mw@gmx.net>, <www-svg@w3.org>
Thank You Andre!  You are very kind to respond and I'm very Pleased.

Your workaround solved my problem with not only window.open, 
but also with updating the location of an existing window.

I think you've shown:

    From svg/javascript event handlers (Netscape only), when trying to create a new window
    with a specific URL, or trying to update a URL or "location", you must use setTimeout()
    for it to work.

Thanks again!

----- Original Message ----- 
From: "André M. Winter" <andre.mw@gmx.net>
To: <www-svg@w3.org>
Sent: Thursday, October 19, 2000 11:55 PM
Subject: Re: sample files demonstrating problem


> hello!
> 
> attaching files doesn't seem to work here, no svg attached.
> 
> however someting that may help you with window.open: in fact netscape has some strange behavior on that
> point. for my application i needed to open a window an write the content with newwin.doc.write(). this
> didn't work on NN4.7+, it crashed. the only workaround was to fit the window-content (code) inside a
> temp_variable, to call window.open but to write the content with window.setTimeout("doWrDetail();",100).
> doWrDetail() calling temp_variable.
> 
> maybe this way helps with changing the location by a short delay function?
> 
> andré
> 
> 
> 
> --
> andré m. winter
> cartography & internet
> http://www.carto.net/
> 
> 
> 
Received on Friday, 20 October 2000 14:16:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:48 GMT