Bugs item #410877, was updated on 2001-03-23 09:49
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=410877&group_id=5757

Category: DynAPIX (Depreciated)
Group: None
>Status: Closed
Priority: 5
Submitted By: Jordan Pickup (jpickup)
Assigned to: Nobody/Anonymous (nobody)
Summary: Doesn't update page dimesions on resize

Initial Comment:
DynAPIX doesn't update the document dimensions when 
the document is resized.

NS4 doesn't have a problem because the page gets 
reloaded anyways.

IE5 and N6 have the problem. I worked around it by 
adding 'DynAPI.document.findDimensions();' to my 
resize handler.

I tried adding:
DynAPI.addResizeFunction
("'DynAPI.document.findDimensions();");
to the end of the DynDocument file. That fixed the 
problem in IE5 but not in N6. In N6 the documents 
Resize Function seemed to be called after my onResize 
function was called so the dimensions were updated 
after I'd already used the old ones.

Just so you know: I'm running NT4 SP6A and have IE5.5, 
NS4.76, and NS6.0

----------------------------------------------------------------------

Comment By: Robert Rainwater (rainwater)
Date: 2001-03-30 00:10

Message:
Logged In: YES 
user_id=16618

I meant addResizeFunction.  Anyway, I updated CVS using 
addResizeFunction, but if the NS 6 problem still persists, 
we'll have to look further as to why its not working.

----------------------------------------------------------------------

Comment By: Robert Rainwater (rainwater)
Date: 2001-03-30 00:04

Message:
Logged In: YES 
user_id=16618

Please don't put DynAPI or DynDocument code into the 
DynAPIObject. 

I don't see why addOnLoadCode wouldn't work here.  

----------------------------------------------------------------------

Comment By: Doug Melvin (doug_melvin)
Date: 2001-03-29 11:35

Message:
Logged In: YES 
user_id=184788

Fixed: Will post to patches list incase I don't get CVS 
figured out.
Origional Function: (DynAPI.js)
DynAPIObject.prototype.resizeHandler = function() {
        eval(this.onResizeCodes.join(";"));
        if (this.onResize) this.onResize();
}

Updated Function:
DynAPIObject.prototype.resizeHandler = function() {
        DynAPI.document.findDimensions();
        eval(this.onResizeCodes.join(";"));
        if (this.onResize) this.onResize();
}


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=410877&group_id=5757

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

Reply via email to