|
Post by Schubaltz on Jul 2, 2007 15:34:37 GMT -5
Description: Places a "New Thread" button in the reply/send topic/print cell.
Source: Open
Cross-browser: Yes
Global Footer
<script type="text/javascript"> <!-- // Link to New Thread in Post
var t = "http://s4.images.proboards.com/buttons/newthread.gif"; // image url if(location.href.match(/action=display/)) for(var l = document.links, k = 4; k < l.length; k ++) if(l[k].className== "nav") { var u = "/index.cgi?board=" + location.href.split("board=")[1].split("&")[0] + "&action=post"; var i = l[k].getElementsByTagName("table")[1]; i = i.rows[0].cells[0].firstChild.rows[0]; i.cells[0].width = "35%"; i.cells[1].width = "65%"; i.cells[1].innerHTML = "<a href='" + u + "'><img src='" + t + "' border='0' /></a> " + i.cells[1].innerHTML; break; } //--> </script>
|
|