Peter
New Member
God
Posts: 6
|
Post by Peter on Oct 31, 2004 12:31:57 GMT
Code created by Webworldx[/color]
<script> /* Move Mini-Post Cell to Right v1.2 by Webworldx
SolidSnake Designs 2004 */ var iTR=document.getElementsByTagName('TR') for(i=0;i<iTR.length;i++){ if ( ( iTR[i].cells(0).innerHTML.match("Posts: ") || iTR[i].cells(0).innerHTML.match("Guest") )&& iTR[i].cells(0).width=="20%"){ var iCell = iTR[i].insertCell() with (iCell){ innerHTML=iTR[i].cells(0).innerHTML className=iTR[i].cells(0).className width="21%" vAlign="top" } iTR[i].cells(0).style.display="none" } if(iTR[i].cells.length > 1 && iTR[i].cells(0).innerHTML.match("Author") && iTR[i].cells(1).innerHTML.match("Topic:") ){ var authorCell = iTR[i].cells(0).innerHTML iTR[i].cells(0).innerHTML=iTR[i].cells(1).innerHTML iTR[i].cells(0).width="80%" iTR[i].cells(1).innerHTML=authorCell iTR[i].cells(1).width="20%" } } </script>
Goes in your board footers, and moves the mini-profile cell to the right hand side of posts.
|
|