Title: Resizing in Netscape - Source of the problem
 
(my 2 cents)
 
We (my workplace) are working on a massive Javscript interface to a project
I am the DynAPI developer for it and we are having fairly serious problems
with resizing in Netscape.
 
It appears to be a combination between the complexity of the interface causing memory leaks ?
using LoadPanel under a Resize event (seems to stuff it up a bit) and
Timing (use setTimeOut)
 
I'll get an interface example to show people as soon as I can (ie I have to extract out all the proprietory
stuff so that we can show it as it is for a client)
 
Regards Ramon
-----Original Message-----
From: Doug Melvin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 21 February 2001 9:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Help] Resizing in Netscape - Source of the problem

I have had the same error without DynImages..
----- Original Message -----
Sent: Tuesday, February 20, 2001 11:30 AM
Subject: RE: [Dynapi-Help] Resizing in Netscape - Source of the problem

That's nice. I've never seen the compatibility matrix before. It says that the dynimage doesn't cause any JS errors. In my experience, the DynImage is responsible for the this.elm has no properties error.
-----Original Message-----
From: Raymond Smith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 12:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Help] Resizing in Netscape - Source of the problem

If you look at the compatability matrix you can see that DynImage is the last nasty impacting NS on the Win Platform.
 
----- Original Message -----
Sent: Tuesday, February 20, 2001 11:04 AM
Subject: [Dynapi-Help] Resizing in Netscape - Source of the problem

I have read the mailing list history and see that many people have had problems with resizing in Netscape. I got the error 'this.elm has no properties' too

Through testing, I discovered that netscape has no problem with the resizing until you use a DynImage.

Maybe this is old news but Netscape calls the DynAPI.onResize function no problem until you add a DynImage. (At least on my machine. (WinNT 4, Netscape 4.7)

When I removed all my DynImages and replaced them with layers with an image on them (myLayer.setHTML("<img src=myimage.gif>");) everything worked fine.

The this.elm error occurs on line 415 of dynlayer.js but that is only when setHTML is called from the dynimage.js file. This is probably because the dynimage file does not have an elm variable. So I thought that maybe there was someone out there that had been using DynAPI for more that 2 days who could fix the problem. I was unsuccessful.

But then, maybe this isn't the source of the problem at all. :-)

Jordan



---
Outgoing mail is certified Virus Free by AVG Free Edition
Download at: http://www.grisoft.com/html/us_index.cfm
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01

Reply via email to