|
Post by BoyBeater on May 16, 2004 15:30:40 GMT -5
<SCRIPT LANGUAGE="JavaScript"> <!-- /* Cell Highlight & Link Copyright © 2003 Craig Suffolk, ProBoards.com All Rights Reserved */
var mouseOverColor = 'HEX COLOR'; var statusMessage = 'TEXT'; window.status = statusMessage;
cellHigh = document.getElementsByTagName('TD'); for(ch=0;ch<cellHigh.length;ch++) { if((cellHigh[ch].className=="windowbg2" && cellHigh[ch].width=="66%") || (cellHigh[ch].className=="windowbg" && cellHigh[ch].width=="48%")) { if (cellHigh[ch].width=="48%") {var num=0;} else {var num=1;} cellHigh[ch].onmouseover = function(){this.style.cursor='hand';this.style.backgroundColor=mouseOverColor; window.status=this.getElementsByTagName('b')[0].innerHTML;}; cellHigh[ch].onmouseout = function(){this.style.backgroundColor=this.bgColor;window.status=statusMessage;}; cellHigh[ch].onclick = function(){location = this.getElementsByTagName('a')[num].href;}; }} // --> </script>
(var mouseOverColor = '000000'; is where you put the HEX color in meaning the HEX num/letters for your desired color)
|
|