|
Post by Wormopolis on Jan 30, 2010 14:27:01 GMT -8
I didnt think you were using base images because you didnt have any in the code already...
|
|
|
Post by tunescool on Jan 30, 2010 14:42:01 GMT -8
im just trying images out until theres one that i wanna keep. i should have thought of it at the time. if i put an image in the category bar does the text disappear?
|
|
|
Post by Wormopolis on Jan 30, 2010 21:15:18 GMT -8
if you put UBBC in for an image as the category name, yes. if you put an image in as the background for .catbg cells, no, but that image will be in any cell with class .catbg
if you have base images ready to go, I can mod that code above for them.
|
|
|
Post by tunescool on Jan 30, 2010 22:35:00 GMT -8
i dont have the base yet
|
|
|
Post by Wormopolis on Jan 31, 2010 11:42:20 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 = "http://www.images.baseimg.jpg"; var iICBaseImg = "http://www.images.com/baseimg.jpg"; 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); basechoice= (iTable.item(t).innerHTML.match(/Info Center/) ? iICBaseImg : iBaseImg);
var hCell = iTable.item(t).insertRow(0).insertCell(0) hCell.colSpan = 5; hCell.height = iHeadHeight; hCell.style.backgroundImage = "url('" + headchoice + "')"; hCell.style.backgroundPosition = "center"; var bCell = iTable.item(t).insertRow(iTable.item(t).rows.length).insertCell(0); bCell.colSpan = 5; bCell.height = iBaseHeight; bCell.style.backgroundImage = "url('" + basechoice + "')"; bCell.style.backgroundPosition = "center"; } } }
if(location.href.match(/\.com(\/|.+cgi(\?|#.+|\?\w+=home)?)?$/i)){ doHeadBase(); }
//--> </script>
just fill in the image URLs
|
|
|
Post by tunescool on Jan 31, 2010 14:13:03 GMT -8
the base image works, im still using the same urls for 2 different images because the infocenter didnt line up. but its coming up short again on the left side celebnook.proboards.com/index.cgi?
|
|
|
Post by Wormopolis on Jan 31, 2010 18:06:47 GMT -8
did you change something about the IC header? the IC is a different width then the tables because you wanted the cell spacing deleted. easiest thing to do would be to reduce the IC header graphic by 1 pixel in width.
|
|
|
Post by tunescool on Jan 31, 2010 18:34:57 GMT -8
i copied the url from the last code and it lined up fine
|
|
|
Post by Wormopolis on Jan 31, 2010 18:38:57 GMT -8
no it was me. I reverted the change that was made to center it when I copied the code without the mod.
recopy.
|
|
|
Post by tunescool on Jan 31, 2010 19:06:57 GMT -8
alrite thanks
|
|
|
Post by tunescool on Feb 6, 2010 7:20:46 GMT -8
alrite im just gonna use the category bar and a base image. i think i know what i want to do now but the image still needs to be cleaned up. is it possible to change this code to category bars instead of a head image, and for the infocenter too
|
|
|
Post by Wormopolis on Feb 6, 2010 12:51:53 GMT -8
category bars?
|
|
|
Post by tunescool on Feb 6, 2010 12:58:07 GMT -8
the main page, catbg
|
|
|
Post by tunescool on Feb 9, 2010 19:16:58 GMT -8
forget about the catbgs
|
|