Patches item #545932, was opened at 2002-04-19 03:43
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305757&aid=545932&group_id=5757

Category: DynAPI 2 Layer
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andy Short (sh0rtie)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch for Mozilla and XHTML docTypes

Initial Comment:
Fix for Bug : 
[ 479910 ] moveTo & Mozilla 0.9.5 & xhtml doctypes

Line 190 in DynLayer.js
- - - - - - - - - - - - - - - - -
if (is.ns) {
        DynLayer.prototype._setX=function(){ 
this.css.left=this.x+((is.dom)?"px":0);};
        DynLayer.prototype._setY=function(){ 
this.css.top=this.y+((is.dom)?"px":0);};
}


- - - - - - - - - - - - - - - - -
Added the "px" string on setting the css top/left 
values for netscape dom browsers, 

With Mozilla (9.7-1.0rc1) if an xhtml doctype is 
present all dependant functions based on the 
_setX/setY methods including moveTo etc would fail to 
work.

IE6 in strict or quirks mode treats any numeric value 
as px unless % is explicitly stated, so the patch was 
not needed for IE6.



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

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

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to