clink
New Member
I Am The Ressurrection
Posts: 34
inherit
35984
0
Aug 27, 2007 9:46:34 GMT -8
clink
I Am The Ressurrection
34
January 2005
clink
|
Post by clink on Jun 19, 2005 9:19:22 GMT -8
put this ProBoards® Support :: General :: Coding and Design Boards :: Coding Support :: Post Message at the bottom of every page aswell as the top?
|
|
inherit
Dork
7641
0
Jul 5, 2007 15:11:01 GMT -8
Jay
12,589
February 2003
trugie
|
Post by Jay on Jun 19, 2005 16:56:57 GMT -8
Place this in your footers:
<script type="text/javascript"> <!--
var tdNode = document.getElementsByTagName('td'); for (i = 0; i < tdNode.length; i ++) { if (tdNode.item(i).width == '100%' && tdNode.item(i).vAlign == 'top' && tdNode.item(i).getElementsByTagName('a')[0].className.match(/^nav/)) { var cloneMe = tdNode.item(i).cloneNode(true).innerHTML; } } if (cloneMe.match(/(<a.*nav.+)<b/i)) { var nFont = document.createElement('font'); var nCent = document.createElement('center'); var nBR = document.createElement('br'); nCent.appendChild(nFont); nFont.size = '-2'; nFont.innerHTML = RegExp.$1; document.body.appendChild(nCent).appendChild(nBR) document.write('<br />'); }
//--> </script>
|
|
clink
New Member
I Am The Ressurrection
Posts: 34
inherit
35984
0
Aug 27, 2007 9:46:34 GMT -8
clink
I Am The Ressurrection
34
January 2005
clink
|
Post by clink on Jun 20, 2005 8:01:24 GMT -8
Place this in your footers: <script type="text/javascript"> <!--
var tdNode = document.getElementsByTagName('td'); for (i = 0; i < tdNode.length; i ++) { if (tdNode.item(i).width == '100%' && tdNode.item(i).vAlign == 'top' && tdNode.item(i).getElementsByTagName('a')[0].className.match(/^nav/)) { var cloneMe = tdNode.item(i).cloneNode(true).innerHTML; } } if (cloneMe.match(/(<a.*nav.+)<b/i)) { var nFont = document.createElement('font'); var nCent = document.createElement('center'); var nBR = document.createElement('br'); nCent.appendChild(nFont); nFont.size = '-2'; nFont.innerHTML = RegExp.$1; document.body.appendChild(nCent).appendChild(nBR) document.write('<br />'); }
//--> </script>Do I need to change anything in it. Tried it in my global and main footers but it doesnt want to work
|
|