|
Post by U Metal on Jul 24, 2007 13:31:13 GMT -5
<script language="JavaScript" type="text/JavaScript"> //DJAs PM Bar,V1 //www.dja3.2ya.com var td = document.getElementsByTagName('TD'); if(td[2].innerHTML.match(/Hey, (.+?), you/i)){ var User = RegExp.$1 } if(td[2].innerHTML.match(/action=pm">(\d+)\s/i)) { var Total = RegExp.$1 } if(td[2].innerHTML.match(/, (\d+)\ is new./i)){ var New = RegExp.$1 } if(td[2].innerHTML.match(/guest/i)){ td[5].innerHTML+='<br />Hey, guest. Please <a href="/index.cgi?action=login">Log In</a> or <a href="/index.cgi?action=register">Register</a> to use this feature.'; } if(td[2].innerHTML.match(/Hey,/i)){ td[5].innerHTML+='<br />Hey '+User+'. <a href="/index.cgi?action=pm">,You have '+Total+'</a>, '+New+' are new.'; } document.getElementsByTagName('td')[2].style.display='none'; document.getElementsByTagName('font')[1].style.display='none'; </script> <style type="text/css"> <!-- .spoilertitle { background-color: DADADA; color: 000000; font-weight: bold; font-size: 13px; } .spoilerbody { font-size: 11px; color: 000000; background-color: F6F6F6; } // --> </style>
I also threw inthe spoiler code I have on my forum so you can hide spoilerish things.
|
|