I would like to know if it would be coherent to allow Element.setStyle
to support CSS class name as parameter.

This feature would require a function like String.parseStyle,
script.aculo.us already have one made in effects.js :

Such feature would be resulting in a negligent speed change in
Element.setStyle and would allow to set the style of a DOM element
based on CSS classes.

If this feature can be interesting I can provide a patch through GIT
including tests on FF 2, FF 3, Safari 3, Opera 9.25, IE 6, IE7.

Hope this can help improving Prototype,
  Sebastien Grosjean - ZenCocoon
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 

Reply via email to