search for: ostylesheet

Displaying 1 result from an estimated 1 matches for "ostylesheet".

Did you mean: stylesheet
2006 Jun 13
0
Code comments?
...ue; } } } } }, cssSelectorUpdate: function(sSelector, sProperty, sValue) { // Update the property value for a specific sSelector in a stylesheet $A(document.styleSheets).each(function(oStyleSheet) { $A(oStyleSheet.rules || oStyleSheet.cssRules).each(function(oRule) { oRule.selectorText.split('','').each(function(sSheetSelector) { if(sSheetSelector == sSelector) oRule.style[sProperty] = sValue; });...