inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Dec 15, 2005 12:59:30 GMT -8
Global FooterWhat this does is splits the members rank/group stars over multiple lines. Just edit the red number with the maximum number of stars you wnat on each line <script type="text/javascript"> <!-- /* stars on multiple lines */
// Maximum number of stars on each line var max = 6;
var td = document.getElementsByTagName('td'); for(i=0; i<td.length; i++) { if(td.item(i).width == '20%' && td.item(i).innerHTML.match(/Posts:/i)) { var img = td.item(i).getElementsByTagName('img'); var n = 0; for(l=0; l<img.length-1; l++) { if(img.item(l).alt == '*') n++; if(n == max && img.item( l+1 ).alt == '*') { var br = document.createElement('br'); td.item(i).insertBefore(br, img.item( l+1 )); n=0; } } } } //--> </script>
|
|