hey folks, I'm looking at using dynapi in an application, and I've noticed a few errors. The one that I've currently stumbled across is when I call: var mainDropDown = dynapi.document.addChild(new DynLayer('',0,0,lw,0)); mainDropDown.setClass("dropDown");
it is failing in the setClass method in dynlayer_base.js ln 158. this.css.className=cn, which doesn't exist. I changed the function to this and it worked fine: p.setClass = function(cn,noInlineStyle){ this._className=cn; if(this.css) this.css.className=cn; else { this._cssClass=(cn)? 'class="'+cn+'"':''; this._noStyle=noInlineStyle; } }; thanks again for this great library! I've had pretty good luck with it so far. regards, Adam -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/