Post by tenkabuto on Aug 15, 2005 10:28:38 GMT -8
| Cross Browser |
| Preview |
Description: Adds a bar over the menubar to display if you have any new private messenges.
Version: 1
Things to edit:
The above needs to be editted and are explained. Below is another thing that needs to be editted but needs explaining.
| Preview |
Description: Adds a bar over the menubar to display if you have any new private messenges.
Version: 1
<script>
// instantGeneration PM Bar Made By iEcstacy
// Please do not redistribute without permission from maker.
// Need support? Contact maker at:
// AIM = tenkabuto
// MSN = tenkabuto@gmail.com
// Edit the Below
var mP = "Insert your image URL here for multiple new PMs"
var oP = "Insert your image URL here for one new PM"
var nP = "Insert your image URL here for no new PMs"
var gP = "Insert your image URL here for guest bar"
var cN = "Insert here what class you want the bar to be"
// Edit none of the below
var IE = document.getElementsByTagName("TABLE")
var TD = document.getElementsByTagName("TD")
var PM = IE[0].insertRow(0).insertCell(0);
PM.className=cN;
if(TD[3].innerHTML.match(/1 is new/i)){
var data="<a href=index.cgi?action=pm><img src="+oP+" border=0></a>"
} else if(TD[3].innerHTML.match(/0 are new/i)){
var data="<a href=index.cgi?action=pm><img src="+nP+" border=0></a>"
} else if(TD[3].innerHTML.match(/(\d+) are/i)){
var data="<a href=index.cgi?action=pm><img src="+mP+" border=0></a>"
} else if(TD[3].innerHTML.match(/Login/i)){
var data="<img src="+gP+" border=0>"
}
PM.innerHTML=data
</script>
Things to edit:
var mP = "Insert your image URL here for multiple new PMs"
var oP = "Insert your image URL here for one new PM"
var nP = "Insert your image URL here for no new PMs"
var gP = "Insert your image URL here for guest bar"
The above needs to be editted and are explained. Below is another thing that needs to be editted but needs explaining.
var cN = "Insert here what class you want the bar to be"
Here, you are given the ability to change the background appearance of the bar. You may use any class that you have identified. The following are auto classes that you should probably use.- titlebg
- menubg
- catbg