inherit
190352
0
Feb 7, 2018 3:14:57 GMT -8
strewth78
118
February 2013
strewth78
|
Post by strewth78 on Mar 2, 2013 14:32:13 GMT -8
hello. ive tried the following script in my global header, to no avail... can anyone help? The advert remains underneath the banner still.
<script> <!-- var tablea=document.getElementsByTagName('TABLE')[0] var TD=document.getElementsByTagName('TD') var TD1=TD[1].innerHTML var TD2=TD[2].innerHTML var TD5=TD[5].innerHTML document.write("<table align='center' cellspacing='1' cellpadding='0' border='0' width='92%'><tr><td width='100%'><table border='0' width='100%' cellspacing='0' cellpadding='0'><tr><td width='50%' class='welcomebg' align='center'>"+TD1+"</td><td width='50%' class='welcomebg' align='left'>"+TD2+"</td></tr></table><table align='center' cellspacing='0' cellpadding='3'><tr><td width='100%' align='center' class='menubg'>"+TD5+"</td></tr></table></td></tr></table>") tablea.style.display="none" --> </script>
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Mar 3, 2013 2:06:11 GMT -8
You should always provide a link to your forum. With so many members on V5 now, we need to see if you are on V4 still or have a V5 site.
If V4, get rid of the code you have and try this: Global headers but if you have side tables the placement may be important as to where in your header you put it.
<div id="wel"></div> <script type="text/javascript"> <!-- var welcomeTable = document.getElementsByTagName("table").item(0); document.getElementById("wel").appendChild(welcomeTable); //--> </script>
|
|
inherit
190352
0
Feb 7, 2018 3:14:57 GMT -8
strewth78
118
February 2013
strewth78
|
Post by strewth78 on Mar 3, 2013 2:27:10 GMT -8
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Mar 3, 2013 4:17:26 GMT -8
O.K. Neither what you have or what I gave you will work on V5. Most all the codes in the data base will not work on V5. This is something you may want to ask of a "red name" person. I know previously Patrick did not want us to move the ads at all but eventually gave in that we could move the banner below the ads but not to move the ads directly. The ads may be there to stay with version 5. So pose your question in the V5 forum, unless a red name told you to come here, which I didn't see you asking anywhere unless I missed it.
|
|