|
Post by Falcon120 on Apr 13, 2004 14:14:58 GMT -8
What is the code for the PM bar, like the one at the old Hatake?
Not the one here.
|
|
100%
|
Post by Aaron on Apr 13, 2004 15:21:54 GMT -8
|
|
|
Post by Falcon120 on Apr 13, 2004 15:26:08 GMT -8
Thats not it, The one where if you have new message it only says "You have new messages!" and doesnt say how many you have... If your not sure wich one Im talking about thats fine and I'll use that one.
|
|
|
Post by ShadowyOne on Apr 13, 2004 16:16:38 GMT -8
<script language="JavaScript"> <!-- // Made by Marty var colr="yellow"; // No editing below this line! var user=document.getElementsByTagName('TD')[2].innerHTML.match(/Hey, /i); var check=document.body.createTextRange().text.match(/ 0 are new./i); var TD=document.getElementsByTagName('TABLE'); for(i=0;i<TD.length;i++){ if(TD[i].cellSpacing=="0" && TD[i].cellPadding=="3" && user){ var row=TD[i].insertRow(); var col=row.insertCell(); row.className="windowbg4" col.align="center" TD[i].cellSpacing="0" if(check){ col.innerHTML='<a href="index.cgi?action=im">Private Messages</a> - No new messages' } else { col.innerHTML='<a href="index.cgi?action=im">Private Messages</a> - <font color="'+colr+'">You have new messages!</font>' }}} // --> </script>
This one?
|
|
|
Post by Falcon120 on Apr 13, 2004 16:20:00 GMT -8
YES! thats the one, thanks ShadowyOne.
|
|
|
Post by ShadowyOne on Apr 13, 2004 16:21:17 GMT -8
No problem. If you're adding gradients, don't forget this: <style type="text/css"> <!-- .windowbg4{background:url(URL);} --> </style> And change the yellow to whatever you want.
|
|
|
Post by Crestfallen on Apr 13, 2004 16:35:32 GMT -8
No problem. If you're adding gradients, don't forget this: <style type="text/css"> <!-- .windowbg4{background:url(URL);} --> </style> And change the yellow to whatever you want. Congrats SO! You just posted Hatake's 1000th post! *applauds*
|
|