Element.Layout is really cool, more than getDimensions, I'm already
loving version 1.7
I'm trying to passing layout properties to Element.setStyle trough
toCSS method, as shown by documentation.
Unfortunately, the method returns no value to me, surely I'm wrong.
example
var lt = new Element.Layout('item');
console.log(lt.get('left')); // ok
console.log(lt.get('top')); // ok
console.log(lt.toCSS('left top')); // no return value
anyone have any idea?
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.