inherit
24252
0
Aug 1, 2023 15:01:24 GMT -8
coolcoolcool
When the world says, "Give up," Hope whispers, "Try it one more time."
2,148
May 2004
coolcoolcool
|
Post by coolcoolcool on Mar 23, 2007 18:26:43 GMT -8
Description: Moves the message icon and thread folder (sticky, locked etc.) to where the thread description is in the following layout:
Description Message Icon: Type:
Compatibility: Tested in Internet Explorer 6.0 and Firefox 2.0
Location: Global Footers
<script type="text/javascript"> var board_modif = {
init: function(){ this.doMove(); },
doMove: function(){ var cells = document.getElementsByTagName("td"); var dguish = 0; var holder = document.createElement("font"); holder.size="2"; for(var a = cells.length-1; a > -1; a--){ if(cells.item(a).className.match(/windowbg2/i) && cells.item(a).width == "5%"){ if(dguish == 0){ holder.innerHTML += "<br>Message Icon: <br>"; dguish = 1; } else { holder.innerHTML += "Type: <br>"; dguish = 0; } holder.insertBefore(cells.item(a).firstChild.cloneNode(true), holder.lastChild); cells.item(a + 1).appendChild(holder.cloneNode(true)); cells.item(a).parentNode.removeChild(cells.item(a)); holder = holder.cloneNode(false); } else if(cells.item(a).className.match(/catbg/i) && cells.item(a).width == "5%"){ cells.item(a).parentNode.removeChild(cells.item(a)); } else if(cells.item(a).colSpan == 7){ cells.item(a).colSpan = 5; } } } }; if(location.href.match(/board=/i)){ board_modif.init(); } </script>
|
|