|
Post by Rage of Thor on Mar 12, 2004 17:40:36 GMT -5
<script> //"Started by" Cell Highlight by Rage of Thor //This code may not be posted anywhere else without the consent of its owner. //This COPYRIGHT must stay intact at all times, under penalty of being devoured by mutant baboons.
var hilitecolor = 'HEX COLOR HERE';
var TD = document.getElementsByTagName('TD'); for(t=0; t<TD.length; t++) { if(TD[t].width=="14%" && TD[t].className.match("windowbg2")){ TD[t].onmouseover = function() { this.style.cursor='hand'; this.style.backgroundColor=hilitecolor; window.status="Click here to view " + this.innerText + "\'s profile"; }; TD[t].onmouseout = function() { this.style.backgroundColor=this.bgColor; window.status=""; }; TD[t].onclick = function() { location = this.getElementsByTagName('a')[0].href; }}} </script>
|
|
|
Post by Rage of Thor on Mar 12, 2004 17:41:27 GMT -5
<script> //Replies/Views cell highlight by Rage of Thor //This code may not be posted anywhere else without the consent of its owner. //This COPYRIGHT must stay intact always, under penalty of spontaneously imploding.
var hilitecolor = "HEX COLOR HERE"
var TD=document.getElementsByTagName("TD") for(t=0;t<TD.length;t++){ if(TD[t].width=="4%" && TD[t].className.match("windowbg")){ if(TD[t+1].width!="48%"){ if(TD[t-2].width=="48%"){ TD[t].onmouseover=function(){this.style.backgroundColor=hilitecolor;this.style.cursor='hand'; window.status=this.previousSibling.previousSibling.getElementsByTagName('b')[0].innerHTML.split('</FONT>')[0]; }; TD[t].onmouseout=function(){this.style.backgroundColor=this.bgColor; window.status="";}; TD[t].onclick = function(){ location = this.previousSibling.previousSibling.all[0].innerHTML.split("\"")[1]; }} if(TD[t-3].width=="48%"){ TD[t].onmouseover=function(){this.style.backgroundColor=hilitecolor;this.style.cursor='hand'; window.status=this.previousSibling.previousSibling.previousSibling.getElementsByTagName('b')[0].innerHTML.split('</FONT>')[0]; }; TD[t].onmouseout=function(){this.style.backgroundColor=this.bgColor; window.status="";}; TD[t].onclick=function(){ location = this.previousSibling.previousSibling.previousSibling.all[0].innerHTML.split("\"")[1]; }}} }} </script>
|
|