|
Post by MonsterControl on Jan 27, 2012 17:48:21 GMT -4
<script type="text/Javascript"> // Merge News Fader with Info Center by Chris // Do not redistribute without permission of the creator
var titleRow = 1; // add title row to info center also
// No need to edit below here if(typeof fContent != "undefined"){ var tab = document.getElementById("fscroller"); while(tab.nodeName.toLowerCase() != "table") tab = tab.parentNode; var aTB = document.getElementsByTagName("table"); for(a=0;a<aTB.length;a++){ if(aTB[a].rows[4] && aTB[a].rows[0].innerHTML.match(/Info Center/)){ var wTab = aTB[a]; break; } } tab.rows[0].cells[0].colSpan = tab.rows[1].cells[0].colSpan = 2; if(titleRow) wTab.appendChild(tab.rows[0]); wTab.appendChild(tab.rows[(titleRow+1)%2]); while(tab.className != "bordercolor") tab = tab.parentNode; tab.style.display = "none"; } </script>
|
|