equal
deleted
inserted
replaced
1153 This is used in Enano to allow sliding sidebar widgets that use their own CSS |
1153 This is used in Enano to allow sliding sidebar widgets that use their own CSS |
1154 */ |
1154 */ |
1155 function getElementsByClassName(oElm, strTagName, strClassName) |
1155 function getElementsByClassName(oElm, strTagName, strClassName) |
1156 { |
1156 { |
1157 // first it gets all of the specified tags |
1157 // first it gets all of the specified tags |
1158 var arrElements = (strTagName == "*" && document.all) ? document.all : oElm.getElementsByTagName(strTagName); |
1158 var arrElements = oElm.getElementsByTagName(strTagName); |
1159 |
1159 |
1160 // then it sets up an array that'll hold the results |
1160 // then it sets up an array that'll hold the results |
1161 var arrReturnElements = new Array(); |
1161 var arrReturnElements = new Array(); |
1162 |
1162 |
1163 // some regex stuff you don't need to worry about |
1163 // some regex stuff you don't need to worry about |