With the new Selector module, forEach and setStyle you'll have
something more powerful and portable (not tested):

function changeCSSProperty(pSelector, pProperty, pValue) {
     forEach($$(pSelector), function (elt) {
        setStyle(elem, {pProperty: pValue});
    });
};


-- 
Thomas


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to