inherit
26561
0
Mar 8, 2009 17:02:03 GMT -8
Mike Lohmer
Classic
2,880
June 2004
mikelohmer
|
Post by Mike Lohmer on Jun 27, 2005 12:16:52 GMT -8
|
|
inherit
40568
0
Jan 26, 2011 12:51:27 GMT -8
Jim
1,764
April 2005
acwboard
|
Post by Jim on Jun 27, 2005 12:21:17 GMT -8
i don't know if this is the same code as here, but here's a cell highlight image code: <script language="JavaScript"> <!-- var bgURL = 'URL OF IMAGE'; function mouseOverHighlightCell(tcell){tcell.background=bgURL;} function mouseOutHighlightCell(tcell){tcell.background='';} function mouseOverHighlightCellB(tcell){tcell.background=bgURL;} function mouseOutHighlightCellB(tcell){tcell.background='';} // --> </script>
|
|
inherit
26561
0
Mar 8, 2009 17:02:03 GMT -8
Mike Lohmer
Classic
2,880
June 2004
mikelohmer
|
Post by Mike Lohmer on Jun 27, 2005 12:26:32 GMT -8
It still doesn't work. Footers, right?
|
|
inherit
40568
0
Jan 26, 2011 12:51:27 GMT -8
Jim
1,764
April 2005
acwboard
|
Post by Jim on Jun 27, 2005 12:35:17 GMT -8
It still doesn't work. Footers, right? yes, the main footer. if it doesn't work, it could be possible that the code is no longer needed with v4.
|
|
inherit
26561
0
Mar 8, 2009 17:02:03 GMT -8
Mike Lohmer
Classic
2,880
June 2004
mikelohmer
|
Post by Mike Lohmer on Jun 27, 2005 12:39:31 GMT -8
I can't see where else I'd put it . . . why wouldn't it work for V4? I've seen other people who have the Image Cell Hightlight . . .
|
|
inherit
40568
0
Jan 26, 2011 12:51:27 GMT -8
Jim
1,764
April 2005
acwboard
|
Post by Jim on Jun 27, 2005 12:43:52 GMT -8
I can't see where else I'd put it . . . why wouldn't it work for V4? I've seen other people who have the Image Cell Hightlight . . . i have too. looking at the code, try placing your cursor between the // --> and hit backspace once or twice to get the --> against the // and see if that helps because i don't think there should be a space between those. EDIT: try one of these codes and see if this is what you want. whatever one u use, they go in ur headers. Background of Post 1 Image: <style type="text/css"> <!-- .windowbg {background-image: url(URL OF IMAGE); background-repeat: repeat;} --> </style> OR Background of Post 2 Image: <style type="text/css"> <!-- .windowbg2 {background-image: url(URL OF IMAGE); background-repeat: repeat;} --> </style> i hope one of these helps, or hopefully the original code i gave u starts working.
|
|
inherit
26561
0
Mar 8, 2009 17:02:03 GMT -8
Mike Lohmer
Classic
2,880
June 2004
mikelohmer
|
Post by Mike Lohmer on Jun 27, 2005 13:10:19 GMT -8
Nope. Those other 2 Codes aren't cell Highlight. . .
|
|
inherit
43511
0
Jul 11, 2012 0:22:05 GMT -8
Xч
Where the student body is going to pieces
1,382
May 2005
voorhess
|
Post by Xч on Jun 27, 2005 14:51:54 GMT -8
<script type="text/javascript"> <!-- /* v4 image cell highlight by california */
var highlightImage="PLACE URL TO IMAGE HERE";
var td=document.getElementsByTagName("td"); for(i=0;i<td.length;i++){ if(td[i].width.match(/^(66|48|43)%$/) && td[i].className.match(/windowbg/)){ var overStr=td[i].onmouseover.toString(); var outStr=td[i].onmouseout.toString(); overStr=overStr.split("{")[1].split("return")[0]; outStr=outStr.split("{")[1].split("return")[0]; eval('td[i].onmouseover=function(){'+overStr+'this.style.backgroundImage="url('+highlightImage+')";};'); eval('td[i].onmouseout=function(){'+outStr+'this.style.backgroundImage="";};'); } } // --> </script>
There you go that code works just fine heres my boards url to show you that it works captspaulding.proboards27.com/index.cgi :put in in your main footers:
|
|
inherit
26561
0
Mar 8, 2009 17:02:03 GMT -8
Mike Lohmer
Classic
2,880
June 2004
mikelohmer
|
Post by Mike Lohmer on Jun 27, 2005 15:15:45 GMT -8
Here's my code: <script type="text/javascript"> <!-- /* v4 image cell highlight by california */
var highlightImage="http://img267.echo.cx/img267/1789/21yd.gif";
var td=document.getElementsByTagName("td"); for(i=0;i<td.length;i++){ if(td[i].width.match(/^(66|48|43)%$/) && td[i].className.match(/windowbg/)){ var overStr=td[i].onmouseover.toString(); var outStr=td[i].onmouseout.toString(); overStr=overStr.split("{")[1].split("return")[0]; outStr=outStr.split("{")[1].split("return")[0]; eval('td[i].onmouseover=function(){'+overStr+'this.style.backgroundImage="url('+highlightImage+')";};'); eval('td[i].onmouseout=function(){'+outStr+'this.style.backgroundImage="";};'); } } // --> </script> The Image Highlight doesn't work for me . . . does it work for 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 27, 2005 15:20:30 GMT -8
That one works for me too. What's your URL?
|
|
inherit
26561
0
Mar 8, 2009 17:02:03 GMT -8
Mike Lohmer
Classic
2,880
June 2004
mikelohmer
|
Post by Mike Lohmer on Jun 27, 2005 16:38:00 GMT -8
|
|
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 27, 2005 16:47:38 GMT -8
Put it at the very bottom of your footer
|
|
inherit
43511
0
Jul 11, 2012 0:22:05 GMT -8
Xч
Where the student body is going to pieces
1,382
May 2005
voorhess
|
Post by Xч on Jun 27, 2005 17:00:51 GMT -8
i DON'T SEE WHY IT WOULDN'T WORK IT works fine for me ,,hope you get it bro
|
|
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 27, 2005 17:05:40 GMT -8
i DON'T SEE WHY IT WOULDN'T WORK IT works fine for me ,,hope you get it bro *Points to post* It's not working because it needs to be below the split category code
|
|