Displaying 1 result from an estimated 1 matches for "orules".
Did you mean:
rules
2006 Jun 13
0
Code comments?
...f it''s true?
Comments appreciated...
Sam
cssSelectorUpdate2: function(sSelector, sProperty, sValue) {
// Update the property value for a specific sSelector in a stylesheet
for(var i = 0; document.styleSheets.length > i; i++) { //
Mozilla
var oRules = document.styleSheets[i].rules ||
document.styleSheets[i].cssRules;
for(var j = 0; oRules.length > j; j++) {
var sSelectors = oRules[j].selectorText;
// string of all selectors on this line
var aSelectors = sSelectors.split('',...