teestorms
Junior Member
Electricity - the original power source!
Posts: 279
inherit
102961
0
Dec 7, 2012 23:40:50 GMT -8
teestorms
Electricity - the original power source!
279
April 2007
teestorms
|
Post by teestorms on Sept 19, 2010 12:44:13 GMT -8
Hi again! Guess this must be my week to have problems ;D Anyway, as the subject title indicates, I am unable to get the new "My Latest Topics" box to work properly. I'm assuming it's some sort of code conflict, so I have tried rearranging the codes I think could be causing the problem, but still no luck. Right now, (as you can see), I have the rectangle box ad feature on. But I had to turn off the box with the latest topics in it, because it messes up the board. More specifically,when loading the front page, the box will flash for a moment, then disappear. When the front page finishes loading, the rectangle ad box is gone as well. No ad appears on the board at all. And the Logo I have in the welcome box gets bumped over to the left side of the page. In fact the whole welcome box gets messed up! So, for now, I have the Latest topics box disabled, but I would really like to be able to add it to my board's front page, if possible. Any ideas as to what is causing the problem, and how to correct it? Here's a link to my site.
|
|
#eb7100
1480
0
1
May 1, 2024 0:14:44 GMT -8
Craig
208,869
September 2001
cmdynasty
|
Post by Craig on Sept 20, 2010 1:54:20 GMT -8
Hi This is in both your main and global footer: Code:<script type="text/javascript"> //Move "Hey X, you have X" around welcome table //wooper
var Position = "1"; //set the position. 1 is above everything, 2 is above menu, 3 is below menu var pm = document.getElementsByTagName('TD')[2];
var hey = pm.getElementsByTagName("FONT")[0].innerHTML;
pm.style.display="none";
if(Position == "1") { var cell = document.getElementsByTagName("TABLE")[1].insertRow(0).insertCell(0); } if(Position == "2") { var cell = document.getElementsByTagName("TABLE")[1].insertRow(1).insertCell(0); } if(Position == "3") { var cell = document.getElementsByTagName("TABLE")[3].insertRow(1).insertCell(0); } cell.colSpan = "2"; cell.align= "center"; cell.height="50"; cell.className = "windowbg"; cell.innerHTML = hey; </script>
It needs to go at the top of your global header only. A couple of other little things too. You need to add the red <style> tag to: [red]<style type="text/css"> <!-- .titlebg {background-image: url(http://i49./f251/Teestorms/Proboard%20Autumn/GS225043.jpg); background-repeat: repeat;} --> </style>and this needs to go to the top of the global header: <script type="text/javascript"> <!-- document.getElementsByTagName('font').item(1).style.display="none"; //--> </script>
|
|
teestorms
Junior Member
Electricity - the original power source!
Posts: 279
inherit
102961
0
Dec 7, 2012 23:40:50 GMT -8
teestorms
Electricity - the original power source!
279
April 2007
teestorms
|
Post by teestorms on Sept 20, 2010 11:28:47 GMT -8
Thanks for this, Craig, although I do have a couple of questions.
Before the first code, you said that I should post it both in my global and main footer. Then, right after the code, you said, " It needs to go at the top of your global header only." So I am confused. I went ahead and just put the first code in both footers, but is it supposed to go in the global header as well?
|
|
#eb7100
1480
0
1
May 1, 2024 0:14:44 GMT -8
Craig
208,869
September 2001
cmdynasty
|
Post by Craig on Sept 20, 2010 11:43:33 GMT -8
No. I said it is in both your main page and global footer. I then said it should be in your global header, and only there.
|
|
teestorms
Junior Member
Electricity - the original power source!
Posts: 279
inherit
102961
0
Dec 7, 2012 23:40:50 GMT -8
teestorms
Electricity - the original power source!
279
April 2007
teestorms
|
Post by teestorms on Sept 20, 2010 11:55:30 GMT -8
Ohhhh! Now I get it! You weren't telling me to add the code to both headers, you were telling me to take it out of both headers and put it in the global footer only. Got it ;D! I'll let you know how it works..thanks again! ETA: Problem solved..."My Latest Topics" now shows up fine!
|
|
#eb7100
1480
0
1
May 1, 2024 0:14:44 GMT -8
Craig
208,869
September 2001
cmdynasty
|
Post by Craig on Sept 20, 2010 11:57:02 GMT -8
|
|