|
Post by CrAzY_J on Nov 1, 2005 19:27:38 GMT
Code descrption: This code will add a gap between the news fader and the boards Code creator: CrAzY_J Code instructions: Edit the bold part in the code for the gap size. Code placement: Main footers <script type="text/javascript"> /* Space between news fader and boards created by CrAzY_J ( hatakeforum.proboards30.com ) Do not redistribute this code without the creator's permission*/ var Gap = '20px'; var Table = document.body.getElementsByTagName("table"); if( this.location.href.match(/\.com(\/(index\.cgi(\?|#\w+)?)?)?$/)) { for( z = 0 ;z < Table.length ; z ++ ) { if( Table[z].cellPadding == "4" && Table[z].rows[0].cells[0].innerHTML.match(/Forum\sName/)) { var Tab = Table[z-1]; var Div = document.createElement("div"); Div.style.height = Gap; Tab.parentNode.insertBefore(Div,Tab); } } } </script>
|
|