That's one of the cool things about the upcoming new Element feature
btw.

It already extends the elements for you.

So you'll be able to do:

new Element('div').setStyle({height: '100px'});

well... or (in that particular case):

new Element('div', {style: 'height: 100px;'});

you can read more about it here: http://prototypejs.org/2007/5/12/dom-builder





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to