search for: sproperty

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

Did you mean: property
2006 Jun 13
0
Code comments?
...there are some additional optimizations which could be made. There may be a way to use findAll or another equivalency operator to test for the innermost equality and perform the assignment if 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.len...