|
Post by tunescool on Jan 25, 2010 1:01:40 GMT -8
im putting head/bases in and the width of the info center is different. has it been changed by any of the things you modified, or can you figure out why its different
|
|
|
Post by Wormopolis on Jan 25, 2010 1:23:40 GMT -8
you have cellSpacing set to 0 for the info center.
|
|
|
Post by tunescool on Jan 25, 2010 2:07:01 GMT -8
where is that that i would change it
|
|
|
Post by Wormopolis on Jan 25, 2010 2:17:19 GMT -8
|
|
|
Post by tunescool on Jan 25, 2010 2:57:33 GMT -8
the width went back to normal but the lines from the users online and 24 hours came back. since im not going to use an image in place of the forum statistics bar is there any way to still have a border around it without the lines from users online 24 hours
|
|
|
Post by Wormopolis on Jan 25, 2010 7:07:32 GMT -8
not that I can tell. the lines affect the width.
|
|
|
Post by tunescool on Jan 25, 2010 8:17:20 GMT -8
then could you alter my head base code to have a seperate image for the infocenter and ill just change the size of the image. i wanna keep those lines out
|
|
|
Post by Wormopolis on Jan 25, 2010 8:58:10 GMT -8
<script type="text/javascript"><!-- /* Main page head and base images - Created by Peter
This code cannot be reposted anywhere other than SSDesigns or ProBoards Support.
This header must stay intact. */
// Head image and height var iHeadImg = "http://i709.photobucket.com/albums/ww95/tunescool/nook/TC-GreyBlueHead2.png"; var iICHeadImg = "http://i709.photobucket.com/albums/ww95/tunescool/nook/TC-GreyBlueHeadIC.png"; var iHeadHeight = 20;
// Base image and height var iBaseImg = "URL"; //you should put in a URL to a blank image instead of leaving it like this var iBaseHeight = 20;
var iTable = document.getElementsByTagName("table");
function doHeadBase(){ for(t = 0; t < iTable.length; t ++){ if(iTable.item(t).width == "100%" && iTable.item(t).cellPadding == "0" && iTable.item(t).innerHTML.match(/Forum Name|Info Center|Stay logged in for:/)){
headchoice= (iTable.item(t).innerHTML.match(/Info Center/) ? iICHeadImg : iHeadImg);
var hCell = iTable.item(t).insertRow(0).insertCell(0) hCell.colSpan = 5; hCell.height = iHeadHeight; hCell.style.backgroundImage = "url('" + headchoice + "')"; var bCell = iTable.item(t).insertRow(iTable.item(t).rows.length).insertCell(0); bCell.colSpan = 5; bCell.height = iBaseHeight; bCell.style.backgroundImage = "url('" + iBaseImg + "')"; } } }
if(location.href.match(/\.com(\/|.+cgi(\?|#.+|\?\w+=home)?)?$/i)){ doHeadBase(); }
//--> </script>
|
|
|
Post by tunescool on Jan 25, 2010 9:23:37 GMT -8
thanks i tried every main page head/base code and category splitter earlier trying find one without the infocenter but there were none or they didnt work at all
|
|
|
Post by Wormopolis on Jan 25, 2010 9:34:12 GMT -8
you will need to make that seperate image.. I just threw in a fake URL.
|
|
|
Post by tunescool on Jan 25, 2010 9:51:15 GMT -8
i changed the width to 802 and it was still the same. then i tried 804 and it was aligned on the rite but not long enough on the left. and 805 looks the same as 804
|
|
|
Post by Wormopolis on Jan 25, 2010 10:42:27 GMT -8
after this line:
hCell.style.backgroundImage = "url('" + headchoice + "')";
add this:
hCell.style.backgroundPosition = "center";
|
|
|
Post by tunescool on Jan 25, 2010 10:59:27 GMT -8
that works
|
|
|
Post by Wormopolis on Jan 25, 2010 13:29:04 GMT -8
excellent!
|
|
|
Post by tunescool on Jan 30, 2010 10:31:40 GMT -8
i still need need one for a base image
|
|