ialex
New Member
Posts: 10
inherit
143112
0
May 29, 2010 13:09:41 GMT -8
ialex
10
July 2009
ialex
|
Post by ialex on Apr 13, 2008 23:48:21 GMT -8
In v4.5 if you choose to hide a certain aspect of the info centre, then the cell will remain, however, the text 'Hidden' will simply appear in it. This code will completely hide the info centre cells that you have selected to hide. Preview: ClickCross Browser. Main Footer. <script type="text/javascript"> <!--
/*Open Source*/
if(location.href.match(/action=home/) || !location.href.match(/action/) && !document.postForm && !document.modifyForm && !document.title.match(/\s-\sLogin/)){ var iTd=document.getElementsByTagName('td'); var i=iTd.length; while(--i){ if(iTd.item(i).className=="catbg" && iTd.item(i).colSpan=="2" && iTd.item(i).innerHTML.match(/>(Today's Birthdays|Events This Month|Users Online|Active Users In The Past 24 Hours)</)){ (iTd.item(i).getElementsByTagName('img').item(0).alt=="Hide")? '' : iTd.item(i).parentNode.nextSibling.style.display='none'; } } }
//--> </script>
|
|