Bugs item #412396, was updated on 2001-03-29 22:09 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=412396&group_id=5757 Category: API Group: None Status: Open Priority: 5 Submitted By: Xuefer (xuefer) Assigned to: Nobody/Anonymous (nobody) Summary: stupid bug? Initial Comment: } else { DynLayer.prototype.getOuterHTML=function (dlyr) { var s='<div id="'+dlyr.id+'" style="'; if (dlyr.visible==false) s+=' visibility:hidden;'; if (dlyr.x!=null) s+=' left:'+dlyr.x+'px;'; if (dlyr.y!=null) s+=' top:'+dlyr.y+'px;'; if (dlyr.w!=null) s+=' width:'+dlyr.w+'px;'; if (dlyr.h!=null) s+=' height:'+dlyr.h+'px;'; if (dlyr.clip) s+=' clip:rect ('+dlyr.clip[0]+'px '+dlyr.clip[1]+'px '+dlyr.clip[2] +'px '+dlyr.clip[3]+'px);'; else if (dlyr.w!=null && dlyr.h! =null); s+=' clip:rect (0px '+dlyr.w+'px '+dlyr.h+'px 0px);'; if (dlyr.bgImage!=null) s+=' background-image:url('+dlyr.bgImage+');' if (dlyr.bgColor!=null) s+=' background:'+dlyr.bgColor+';' if (is.ie55 && dlyr.bgImage==null && dlyr.html==null) s+=' background-image:url (javascript:null);' s+=' position:absolute;">'; if (dlyr.html!=null) s+=dlyr.html; for (var i=0; i<dlyr.children.length; i++) s+=this.getOuterHTML (dlyr.children[i]); s+='</div>'; return s; }; }; else if (dlyr.w!=null && dlyr.h!=null)[b];[/b] s+=' clip:rect(0px '+dlyr.w+'px '+dlyr.h+'px 0px);'; ??? ---------------------------------------------------------------------- >Comment By: Xuefer (xuefer) Date: 2001-03-29 22:16 Message: Logged In: YES user_id=185131 how to edit the submited article? sorry for the above post repaste here: file: dynlayer.js DynAPI 2 DynAPI X // function for ie DynLayer.prototype.getOuterHTML=function(dlyr) { .... else if (dlyr.w!=null && dlyr.h!=null); // what's this ';' ???? s+=' clip:rect(0px '+dlyr.w+'px '+dlyr.h+'px 0px);'; .... } ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=412396&group_id=5757 _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev