Peter
New Member
God
Posts: 6
|
Post by Peter on Oct 29, 2004 16:13:44 GMT
Code created by Jello[/color]
<Script> //Name in PM Page cell highlight
var Color = 'ffffff'; if(location.href.indexOf("action=imshow")!=-1){} else {if(location.href.indexOf('action=im') != -1) { var TD = document.getElementsByTagName('TD'); var Name = TD[2].innerText.split(/\W\s/i) window.defaultStatus = "Welcome "+ Name[1] for(t=0; t<TD.length; t++) { if(TD[t].className=="windowbg" && TD[t].innerHTML.indexOf('?action=viewprofile') != -1) { TD[t].onmouseover = function() {this.style.cursor='hand';this.style.backgroundColor=Color;window.status="Click to view the profile of " + this.innerText}; TD[t].onmouseout = function() {this.style.backgroundColor=this.bgColor;}; TD[t].onclick = function() {location = this.getElementsByTagName('a')[0].href;} }}}} </Script>
|
|