Thanks Robert for the reply.

On the two 'guilty' links I was loading html pages with plenty of DynAPI2
script. I assume that it is a memory problem with IE. It gets itself tied up
with the DynAPI in the opened windows and when they're closed again it takes
those several seconds to free up the memory again. On all my pages I
include:
DynAPI.onUnload = function() {
        if (this.loaded) DynAPI.document.deleteAllChildren();
}
This, I find makes a big difference in general. A day or so I read in the
dev-list about CollectGarbage(). So just for a try I incuded:
DynAPI.onUnload = function() {
        if (this.loaded) DynAPI.document.deleteAllChildren();
        CollectGarbage();
}
in the two 'guilty' pages. Now I have no problems :) One less, that is.

Blessings, Darryl.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert
Rainwater
Sent: Sunday, March 11, 2001 8:07 PM
To: Darryl Cousins
Subject: Re: [Dynapi-Help] window.open and IE



I tried and didn't have that problem with adding some simple dynlayers
to the window. What exactly are you loading in the windows?

--
Robert Rainwater


On 3/10/2001, 5:34:08 AM EST, Darryl wrote about "[Dynapi-Help] window.open
and IE":

> Hello All,

> I have a home page with several <a> links (on layers using setHTML) that
> call the following function:

>  function openWindow(URL,windowName) {
>         if(is.ns || is.ie) {

>         var window_left = (screen.width-790)/2;
>         var window_top = (screen.height-480)/2;

>         window.open(URL,windowName,'width=780,height=480,top=' +
window_top +
> ',left=' + window_left + '');
>         }
> }

> These links open example pages, three without DynAPI2 and two DynAPI2
> powered. When the later two, and only the later two, are closed again my
> computer is frozen for 10-15 seconds. The home page browser has focus but
> click events on the entire system are not active for this short period.
The
> problem does not appear with NS. The page worked fine with IE on another
> system (details unknown).

> I'm running PentiumII 400 MHz, Win98, IE5.0

> The page is at http://www.polbox.com/c/cousins The guilty two links are
> under 'Darryl's Web Design' /Flash 01-2000 and /DHTML 02-2000

> TIA. Blessings, Darryl


> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help



_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to