jQuery.getAll( s[i], r );
}
return r;
},
attr: function(elem, name, value){
var fix = {
“for”: “htmlFor”,
“class”: “className”,
“float”: “cssFloat”,
innerHTML: “innerHTML”,
className: “className”,
value: “value”,
disabled: “disabled”,
checked: “checked”
};
// IE actually uses filters for opacity … elem is actually elem.style
if (name == “opacity” && jQuery.browser.msie && value != undefined) {
// IE has trouble with opacity if it does not have layout
// Would prefer to check element.hasLayout first but don’t have access to the element here
elem[‘zoom’] = 1;
if (value == 1) // Remove filter to avoid more IE weirdness
return elem[“filter”] = elem[“filter”].replace(/alpha([^)]*)/gi,””);
else
return elem[“filter”] = elem[“filter”].replace(/alpha([^)]*)/gi,””) + “alpha(opacity=” + value * 100 + “)”;










