Peter
New Member
God
Posts: 6
|
Post by Peter on Oct 29, 2004 11:36:26 GMT
Code created by Ron[/color]
Goes in main footer <Script Language="JavaScript"> /* Cell Highlight & Link For PMs Page Created for Proboards? By Ron, http://ronsguide.elixant.com This credit must stay in tact */
var hoverColor = '[red]D6FBBF[/red]'; var statusMsg = '[red]Welcome To ProBoards.com[/red]'; window.status = statusMsg;
cellHover = document.getElementsByTagName('TD'); for(r=0; r<cellHover.length; r++) { if(location.href.indexOf('?action=im') != -1 && location.href.indexOf('&id=') == -1) { if(cellHover[r].className=="windowbg" && cellHover[r].innerHTML.indexOf('?action=imshow') != -1) { cellHover[r].onmouseover = function() {this.style.cursor='hand';this.style.backgroundColor=hoverColor;window.status=this.getElementsByTagName('a')[0].innerHTML;}; cellHover[r].onmouseout = function() {this.style.backgroundColor=this.bgColor;window.status=statusMsg;}; cellHover[r].onclick = function() {location = this.getElementsByTagName('a')[0].href;}; }}} </Script>
|
|