This code errors in IE. I get an invalid argument error concerning
the  elementStyle object.

The area that i'm interested in is: setStyle: function(element,
styles) {
    element = $(element);
    var elementStyle =, match;
    if (Object.isString(styles)) { += ';' + styles;
      return styles.include('opacity') ?
[1]) : element;
    for (var property in styles)
      if (property == 'opacity') element.setOpacity(styles[property]);
        elementStyle[(property == 'float' || property == 'cssFloat') ?
          (Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' :
'styleFloat') :
            property] = styles[property];

    return element;

Please advise!!!

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to