On 2/3/2001, 4:56:01 PM EST, Al wrote about "[Dynapi-Dev] resize in frames on IE":

> I was fooling around with the scrollpane example. I see that it fails on
> a resize in NS4, but I have seen emails about  the NS4 resize bug coming
> back with the precreate system.

> I do not get the same error in IE5.0, but if I run the scrollpane
> example in a frame and resize I get an "'undefined' is not an object"
> error in dynapi.js:
>  resizeHandler : function() {
>   var doc = this.dyndoc;
>   var w = doc.getWidth();

> In other words, this.dyndoc is not defined.

If you look in dyndocument.js you will see where dyndoc is set in the
constructor - frame.dyndoc = this. I would image this is where the
problem arises when the resize event is not being called on "frame" so
this.dyndoc does not exists. I will need to do further testing
however.

-- 
// Robert Rainwater



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

Reply via email to