Am I missing something in Javascript ?

Koos Vriezen koos.vriezen at xs4all.nl
Wed Nov 13 21:29:20 GMT 2002


On Wed, 13 Nov 2002, David Faure wrote:

> Reason for 1. : we load urls asynchronously. So you first write into the
> new window, and THEN empty.html gets loaded, overwriting what you
> wrote into it. Not sure if this should be changed.... we surely can't block
> the caller script until the URL is loaded, in general (think HTTP and very
> slow servers). I guess other browsers just do it immediately for local files,
> whereas the KIO architecture makes even file:// asynchronous.

Well, the running script could do an 'enter_loop()' and an 'exit_loop()'
if the page is loaded. But I'm pretty sure non local files also doesn't
work for IE that way. I remember solving this once in a two stage manner,
first opening the window and the onLoad event of that second page
initiating the second stage ('opener.top.finishIt()')

Koos





More information about the kfm-devel mailing list