|
Post by ScarletIce on Dec 26, 2004 23:28:40 GMT -5
I'm looking for the code that seperates stickied threads with a little gap. Anyone know what it is?
|
|
|
Post by Tommy Huynh on Dec 26, 2004 23:40:03 GMT -5
I'm looking for the code that seperates stickied threads with a little gap. Anyone know what it is? Footers <script type="text/javascript" language="JavaScript"> var StickyIcon = "http://216.40.206.219/boardimages/sticky.gif";
var Tab = document.getElementsByTagName("Table"); for(i=0;i<Tab.length;i++){ if(Tab[i].innerHTML.match(/>Subject</) && Tab[i].width=="100%" && Tab[i].cellSpacing=="1"){ var TabTR = Tab[i].getElementsByTagName("TR"); for(r=1;r<TabTR.length;r++){ if(TabTR[r].getElementsByTagName("TD")[0].firstChild.src.indexOf(StickyIcon)!=-1 && TabTR[r+1].getElementsByTagName("TD")[0].firstChild.src.indexOf(StickyIcon)==-1){ if(TabTR[r].getElementsByTagName("TD")[1].rowSpan=="2"){ var StickyInsert = TabTR[r].parentNode.insertRow(r+2).insertCell(0); } else{ var StickyInsert = TabTR[r].parentNode.insertRow(r+1).insertCell(0); } StickyInsert.colSpan = "7"; StickyInsert.className = "catbg"; StickyInsert.innerHTML = "&n"+"bsp"; break; } } } }
</script>
|
|