inherit
13333
0
Mar 19, 2012 20:30:58 GMT -8
hey
4,271
September 2003
hey
|
Post by hey on Jul 17, 2005 20:08:48 GMT -8
This gives the last post column a cell highlight effect.
Global Footer:
<script type="text/javascript"> /* Last Post Column Cell Highlight Created by hey Do not repost and keep header intact */
//Highlight color var highlightColor = 'FFFFFF';
//0 to link to profile, 1 to link to thread var linkTarget = '0';
icell = document.getElementsByTagName('TD'); for(t=0;t<icell.length;t++) { if (icell[t].className=="windowbg2" && icell[t].width=="24%") { icell[t].onmouseover = function(){this.style.cursor='pointer';this.style.backgroundColor=highlightColor;}; icell[t].onmouseout = function(){this.style.backgroundColor=this.bgColor;}; icell[t].onclick = function(){location = this.getElementsByTagName('a')[linkTarget].href;};} if(location.href.match(/board=/) && !location.href.match(/action=display/)){ if (icell[t].className=="windowbg2" && icell[t].width=="20%") { icell[t].onmouseover = function(){this.style.cursor='pointer';this.style.backgroundColor=highlightColor;}; icell[t].onmouseout = function(){this.style.backgroundColor=this.bgColor;};}}} </script>
Cross Browser. Edit the two variables.
|
|