Mark B
New Member
"The Pawprint"
Posts: 59
inherit
32195
0
Feb 15, 2006 13:16:49 GMT -8
Mark B
"The Pawprint"
59
October 2004
markb658
|
Post by Mark B on Jun 21, 2005 1:30:43 GMT -8
I just noticed a problem with these codes, they mess with the headers and footers page, changing the boxes so making some of the codes change,and not work, it really messed up my board,but i had a copy of my Headers and Footers luckily!
So i changed them a bit, just simply added the lines in bold! Hope ya dont mine Elindir, just said id let it known before some people really messed things up!
<script type="text/javascript"> /* center quick reply by elindir */ <!-- var td = document.getElementsByTagName('td'); for(i=0;i<td.length;i++){ if(location.href.indexOf('headersfooters') == -1) if(location.href.match(/action=display/)){ if(td.innerHTML.match(/Quick Reply/) && td.width.match(/100%/) && td.className.match(/titlebg/)){ td.align="center"; td[i+1].align="center"; }}} //--> </script>
<script type="text/javascript"> //Center Quick Reply by Elindir <!-- var font = document.getElementsByTagName('font'); for(i=0;i<font.length;i++){ if(location.href.indexOf('headersfooters') == -1) if(location.href.indexOf(/action=display/)){ if(font.innerHTML.match(/Quick Reply/) && font.size=="2"){ font.innerHTML="<center>"+font.innerHTML+"<\/center>"; } if(font.innerHTML.match(/Shortcut to Quick Reply box/) && font.size=="1"){ font.style.display="none"; }}} //--> </script>
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 21, 2005 4:59:25 GMT -8
Don't mind at all Always happy to have someone improve my stuff Strange thing is though, I've been using this code since I got v4 on my forum and have had no problems Edit: Updated this in the Database
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Jun 21, 2005 5:04:35 GMT -8
Don't mind at all Always happy to have someone improve my stuff Strange thing is though, I've been using this code since I got v4 on my forum and have had no problems Edit: Updated this in the Database I recommend you change that to 'action=headersfooters', some guy might go and create a board named headersandfooters or someone could sign up with the name headersandfooters (you never know...)
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 21, 2005 5:23:25 GMT -8
Don't mind at all Always happy to have someone improve my stuff Strange thing is though, I've been using this code since I got v4 on my forum and have had no problems Edit: Updated this in the Database I recommend you change that to 'action=headersfooters', some guy might go and create a board named headersandfooters or someone could sign up with the name headersandfooters (you never know...) Unlikely, but with some people .......
|
|
Jamie
Junior Member
Posts: 323
inherit
39414
0
Nov 8, 2008 9:28:38 GMT -8
Jamie
323
March 2005
jamiehd
|
Post by Jamie on Jun 21, 2005 5:27:58 GMT -8
just to prove a point i registered to one of your forums with the name headersandfooters, feel free to delete it
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Jun 21, 2005 5:31:49 GMT -8
just to prove a point i registered to one of your forums with the name headersandfooters, feel free to delete it actually, it's "headersfooters" without the and...
|
|
inherit
5
xdreamreaverx blackhand2099
0
Sept 29, 2014 11:28:11 GMT -8
ĐR
Missin' the good ol' days
19,719
January 1970
roamer1
|
Post by ĐR on Jun 21, 2005 5:34:43 GMT -8
Well I've been using this code on my own board without the updated line and have had no problems whatsoever.
|
|
inherit
47980
0
Jul 6, 2005 18:41:33 GMT -8
satinsheetsadmin
3
June 2005
satinsheetsadmin
|
Post by satinsheetsadmin on Jun 21, 2005 5:36:29 GMT -8
Are there easy "basic" codes for putting images and text into both Global and Main headers and footers?? If so where can I find those.
THANKS ALOT!! ;D
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Jun 21, 2005 5:37:56 GMT -8
Are there easy "basic" codes for putting images and text into both Global and Main headers and footers?? If so where can I find those. THANKS ALOT!! ;D in the other sub-boards of the Coding and Design Boards. You had to look in the general discussion area didn't you...
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 21, 2005 5:40:39 GMT -8
Well I've been using this code on my own board without the updated line and have had no problems whatsoever. Same here, but it's better to have it just in case someone gets a problem with it; although I can't see why they would
|
|
inherit
5
xdreamreaverx blackhand2099
0
Sept 29, 2014 11:28:11 GMT -8
ĐR
Missin' the good ol' days
19,719
January 1970
roamer1
|
Post by ĐR on Jun 21, 2005 5:42:15 GMT -8
Well I've been using this code on my own board without the updated line and have had no problems whatsoever. Same here, but it's better to have it just in case someone gets a problem with it; although I can't see why they would Me either. I don't know how that code could mess up someone's headers and footers area. It must have conflicted with another code.
|
|
Mark B
New Member
"The Pawprint"
Posts: 59
inherit
32195
0
Feb 15, 2006 13:16:49 GMT -8
Mark B
"The Pawprint"
59
October 2004
markb658
|
Post by Mark B on Jun 21, 2005 9:47:43 GMT -8
It could of been a conflict, or even a firefox issue! Because it was just centering the whole page, and making the boxes smaller, so text was forced on to the next line, making them not work, Id say it was a conflict, but safe just to have it in there anyway!
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 21, 2005 14:43:21 GMT -8
Code support please
|
|