|
Post by Simpsons Rule on Dec 7, 2003 18:16:44 GMT -5
No long use this code. ProBoards v4 has this option integrated. Simply go into admin ---> Skins/Forum Colors and set the Board and Thread Highlight colors.<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>
The parts in red are the only parts you should change. The HEX COLOR is where you place the six digit color code. The color codes can be found here:
www.december.com/html/spec/color.html
www.visibone.com/colorlab/
Replace TEXT with the message you want to appear at the bottom left hand corner of your browser window. The code goes in your Main Footer but make sure it is the first code in your Footer. This code is used on this forum.
|
|