|
Post by Smangii on Oct 7, 2010 20:06:38 GMT
Global Headers
<script type="text/javascript"> <!-- /* Add PM button next to navigation bar Created By: Krayzie10291 Repostable DO NOT edit anywhere not specified */
var Start = "["; // Start of button (edit)
var End = "]"; // End of button (edit)
var Guest = "<a href='/index.cgi?action=login'>Check PMs</a>"; // Message guest will see (edit)
var Old = "<a href='/index.cgi?action=pm'>No PMs</a>"; // Old PM message (edit)
var New="<a href='/index.cgi?action=pm'>NEW PMs</a>"; // New PM message (edit)
var N_td = document.getElementsByTagName("td"); if(N_td[2].innerHTML.match(/me\sgu/i)) { N_td[5].innerHTML+= Start+Guest+End; } else if(N_td[2].innerHTML.match(/,\s0\sar/i)) { N_td[5].innerHTML += Start+Old+End; } else { N_td[5].innerHTML += Start+New+End; } // --> </script>
|
|