inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 5, 2005 3:42:30 GMT -8
<script type="text/javascript"> <!--
// Total viewing in boards shown in info center // Created by PopThosePringles
var viewing = { total: 0 };
var iFont = document.getElementsByTagName("font"); var iCell = document.getElementsByTagName("td");
for(f = 0; f < iFont.length; f ++){ if(iFont.item(f).size == "1" && iFont.item(f).innerHTML.match(/ - (\d+) Viewing/)){ viewing.total += parseInt(RegExp.$1); } }
var re = /Total Members: </ var iBr = document.createElement("br"); var iSpan = document.createElement("span");
for(c = 0; c < iCell.length; c ++){ if(iCell.item(c).width == "40%" && iCell.item(c).align == "left" && iCell.item(c).innerHTML.match(re)){ iCell.item(c).firstChild.appendChild(iBr); iCell.item(c).firstChild.appendChild(document.createTextNode("Total Viewing In Boards: ")); iSpan.style.fontWeight = "bold"; iSpan.appendChild(document.createTextNode(viewing.total)); iCell.item(c).firstChild.appendChild(iSpan); } }
//--> </script>
Add to main footer.
This will show the total viewing in boards in the info center.
|
|