inherit
13333
0
Mar 19, 2012 20:30:58 GMT -8
hey
4,271
September 2003
hey
|
Post by hey on Jul 17, 2005 20:07:48 GMT -8
Global Footer Cross Browser
<script type="text/javascript"> /* Expand/Collapse Quick Reply Created by hey Don't repost and keep header intact */
td = document.getElementsByTagName('td'); for(t=0;t<td.length;t++){ if(td[t].className.match(/titlebg/i) && td[t].innerHTML.match(/Quick Reply/i)){ td[t].innerHTML='<div id="displayhide" onclick="quickShowHide(document.getElementById(\'quickbox\'))\;" style="cursor: pointer\;">Quick Reply (Show/Hide)</div>'; td[t+1].innerHTML='<div id="quickbox" style="display: none\;">'+td[t+1].innerHTML+'</div>'; function quickShowHide(obj){ obj.style.display = (obj.style.display == "none")? "": "none"; } } } </script>
This makes the quick reply box start out hidden and when you click the qucik reply bar, it'll open up.
|
|