are both elements visible? (i.e. display != 'none') On Tue, Oct 28, 2008 at 9:09 AM, Vortexmind < [EMAIL PROTECTED]<[EMAIL PROTECTED]> > wrote:
> > Yes, this is done in the constructor of my class > > 1) x = new Element ( ... ) > 2) parentElem.adopt(x) > 3) x.getSize() ... > > And parentElem is in the DOM too at the time of the getSize() call ... > > > On 28 Ott, 14:40, yangkun <[EMAIL > PROTECTED]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1387499&i=0>> > wrote: > > did you inject the element into DOM before call getSize() ? > > > ------------------------------ > View message @ > http://n2.nabble.com/Issue-with-Element.getSize%28%29-tp1386759p1387499.html > To start a new topic under MooTools Users, email > [EMAIL PROTECTED]<[EMAIL PROTECTED]> > To unsubscribe from MooTools Users, click here< (link removed) >. > > > ----- The MooTools Tutorial: http://www.mootorial.com www.mootorial.com CNET Clientside: http://clientside.cnet.com clientside.cnet.com -- View this message in context: http://n2.nabble.com/Issue-with-Element.getSize%28%29-tp1386759p1387503.html Sent from the MooTools Users mailing list archive at Nabble.com.
