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

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 UTC