Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Recruiting box, item link, Raiding box
Avandius (New Admin) 11/5/2008 5:17 AM EST : RE: WoW Guild Bar v1.1
Avandius
Posts: 337
Fingers of Fury!

Awesome thanks mottie! I'm going to color code the classes for now.. but i found something on another site but cannot figure out how to incorporate it into your guildbar.

Would it be possible to add a class value? Which would mean you could use it for other things as well i imagine?

<style type="text/css">
.Priest { color: #FFFFFF; }
.Warrior { color: #C79C6E;  }
.Druid { color: #FF7D0A; }
.Shaman { color: #2459FF;  }
.Paladin { color: #F58CBA; }
.Rogue { color: #FFF569;  }
.Mage { color: #69CCF0; }
.Warlock { color: #9482CA; }
.Hunter { color: #ABd473; }
.Death  { color: #A6C6D2; }
{EXTRA_CSS}
</style>
TopBottom

Mottie (MVP) 11/5/2008 10:27 AM EST : RE: WoW Guild Bar v1.1
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

The reason I didn't do this is because it would interfere with the other type of recruitment bar I made that does add those same class names. It wouldn't be compatible because the recruitment bar used the background image to add the class icon and padding.

So, if you wanted to add those classes, the easiest way would also be to define them in the variable... as follows:

classrq.push ([
 "http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/dk.png",
 "<span class=Death>Death Knight</span>",
 "Only Gnomes need apply"
]);

I could change it in the code, but it would require adding another variable into the "classrq" or using the second variable as the class name (minus the space). Which is basically the same thing as I did above.
TopBottom

Avandius (New Admin) 11/6/2008 5:00 AM EST : RE: WoW Guild Bar v1.1
Avandius
Posts: 337
Fingers of Fury!

Yeah that makes sense, i suppose for just the recruiting bar it doesnt matter if i use "class" or "font" its about the same amount of characters. I suppose it would be nice if some how the entire website would convert classnames automatically to their color. But it's no biggy.

Thanks mottie. I think im set on the guildbar until you release the new progression list. I can't wait to see it!
TopBottom

Mottie (MVP) 11/12/2008 3:45 AM EST : Guild Bar v1.2 (WotLK)
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

AoC Guild Bar v1.0 (outdated) | WoW Guild Bar: v1.0 (outdated) | v1.1 (TBC) | v1.2 (WotLK) | 1.21 (Ulduar) | v1.22 (Crusader) | v 1.23 (Icecrown)

Guild Bar Version 1.2 - WotLK update

*NOTE: Click on these links if you only want the recruitment portion or the progression portion of this bar.

Changes from v1.1:
  • The script is updated to include the new WotLK instances that I could find information on prior to it's release. I will try to update it as more instances become available (including the icons).
  • The javascript was changed to allow the tooltip to show a second status column. The first column has the instance & boss names, the second column shows the 10 man instance status and the third column shows the 25 man instance status. See it in action on the "Warcraft" tab of my test-site.

Banner Area or Content Box

<!-- HTML Combined Box (with image)
************************************ -->
<div id="banner" align="center">
<table class="guildBar" border=0>
<tr>
 <td id="recruitBar"></td>
 <td id="wowImage"><img src="http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/WotLK.png"></td>
 <td id="raidingBar"></td>
</tr>
</table>
</div>


<!-- Stylesheet
************************************ -->
<style type="text/css">
.guildBar { width:700px; margin-right:auto; margin-left:auto; margin-top:110px;}
#banner { background: url(YOUR BANNER IMAGE URL) top center no-repeat; height:150px; border: transparent 1px solid; }
.dim { opacity: .3; filter: alpha(opacity=30); }

#recruitBar { width:300px; text-align:right; vertical-align:bottom; font-family:sans-serif; font-size:70%; white-space:nowrap; }
#recruitBar a, #recruitBar img { color:#999999; text-decoration:none; border:0px; width:20px; height:20px; padding:0px 1px 0px 0px; }
.recruitToolTip { color: orange; font-weight: bold; vertical-align:top; }

#raidingBar { width:300px; text-align:left; vertical-align:bottom; color:#999999; font-family:sans-serif; font-size:70%; white-space:nowrap; }
#raidingBar a, #raidingBar img { color:#999999; text-decoration:none; border:0px; width:20px; height:20px; padding:0px 1px 0px 0px; }
.raidingToolTip { color: #0080ff; font-weight:bold; vertical-align:top; }

.killedBoss { color: #888888; text-decoration:line-through; }
.toKillBoss { color: #dddddd; text-decoration:none; }
.killedText { color: #ff0000; }

#dhtmltooltip { position: absolute; width: 150px; border: #888888 1px solid; padding: 3px; background: #222222; color: #dddddd; visibility: hidden; z-index: 100; }
</style>

Footer area or make a"guildbar.js" file

If you want to add this guild bar into the banner area, it will be necessary to put the javascript below somewhere else. You need to do this because the script is too long to fit into the Banner Area.
  1. Footer: Copy (Ctrl-C) the script below and paste (Ctrl-V) it into your footer.

    Control Panel > Style & Colors > Footer (under Advanced Style Settings)
  2. Separate "guildbar.js" file:

    First off, add this line to the end of the HTML above (in blue):

    <script src="URL TO YOUR guildbar.js"></script>

    Then copy (Ctrl-C) and paste (Ctrl-v) the code below into notepad, remove the <script type="text/javascript"> at the top and the </script> from the bottom, then save the file as "guildbar.js".

    You can use the File Manager (Control Panel > File Manager) built into Guild Portal, but I recommend using a free hosting site like "ripway.com" to host the file. The reason is ripway provides an online text editor, you can easily update the information in the script, save and you're done. With the GuildPortal File Manager, you can upload the updated file and it should replace the existing one, but it's been hit or miss for me.

    Update the URL in green above to where you saved your file.

<script type="text/javascript">
var classrq = new Array();
var progress = new Array();

/* Recruitment Bar - Class Needs
 ********************************************
- Each class variable is set up as follows:
   class.push ([ "Thumbnail Image URL",
    "Class Name",
    "Class Needs"
   ])
- recruitKeyWord defines the word to match in the "Class Needs" to
  set icon dimmer, the text is case sensitive.
 ******************************************** */
var recruitTitle = "Recruitment";
var recruitKeyWord = "Closed";
var recruitImagesPerRow = 10;
var linkToRecruitmentPost = "http://recruitme.com";

classrq.push (["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/dk.png",
 "<font color=#c41f3b>Death Knight</font>",
 "Only Gnomes need apply!"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/druid.gif",
 "<font color=#ff7d0a>Druid</font>",
 "Feral<br>Resto"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/hunter.gif",
 "<font color=#abd473>Hunter</font>",
 "BM with an annoyingly large Dinosaur"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/mage.gif",
 "<font color=#69ccf0>Mage</font>",
 "Frost/Arcane"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/paladin.gif",
 "<font color=#f58cba>Paladin</font>",
 "Prot<br>Holy"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/priest.gif",
 "<font color=#ffffff>Priest</font>",
 "Shadow<br>Holy"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/rogue.gif",
 "<font color=#fff569>Rogue</font>",
 "Closed"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/shaman.gif",
 "<font color=#2459ff>Shaman</font>",
 "Resto"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/warlock.gif",
 "<font color=#9482c9>Warlock</font>",
 "Affliction"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/warrior.gif",
 "<font color=#c79c6e>Warrior</font>",
 "Closed"
]);

/* Progress Bar - Instance and Boss status
********************************************
- Each progression variable is set up as follows:
   progress.push ([
    ["Thumbnail Image URL"],
    ["Instance Name", "Instance Status - 10 man", "Instance Status - 25 man"],
    ["Instance Boss #1", "Boss #1 Status - 10 man", "Boss #1 Status - 25 man"],
    ["Instance Boss #2", "Boss #2 Status - 10 man", "Boss #2 Status - 10 man"],
    ...
    ["Last Instance Boss", "Last Boss Status - 10 man", "Last Boss Status - 10 man"]
   ]);
- The "raidingKeyWord" defines the word to match in the "Instance Status"
  to set icon dimmer, the text is case sensitive. Default is set to "No"...
  so, the words "No", "Not", "None" and "Noogies" will all cause the
  instance icon to dim. Also, leaving the "Instance Status" and the first
  boss status ("Boss #1 Status") blank will dim the icon.
- The "bossKilledKeyWord" defines the word to match to then apply the
  "killedBoss" and "killedText" CSS classes to the text.
******************************************** */
var raidingTitle = "Progression";
var raidingKeyWord = "No|closed|unknown";
var bossKilledKeyWord = "Killed";
var raidingImagesPerRow = 7;
var tooltipBossWidth = 250;
var tooltipKilledWidth = 80;
var linkToRaidingSite = "http://www.wowjutsu.com/us/";

/* ********************************************
   Wrath of the Lich King
   ******************************************** */
// NAXXRAMAS II
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Nax2-10.gif"]
,["Naxxramas II", "(10 man)<br>In Progress", "(25 man)"]
,["AW: Patchwerk", "Killed", "Killed"]
,["AW: Grobbulus", "Killed", ""]
,["AW: Gluth", "Killed", ""]
,["AW: Thaddius", "Attempted", ""]
,["PW: Noth the Plaguebringer", "Attempted", ""]
,["PW: Heigan the Unclean", "", ""]
,["PW: Loatheb", "", ""]
,["SW: Anub'Rekhan", "Killed", "Ouchy"]
,["SW: Grand Widow Faerlina", "Killed", ""]
,["SW: Maexxna", "", ""]
,["DW: Instructor Razuvious", "Killed", ""]
,["DW: Gothik the Harvester", "", ""]
,["DW: The Four Horsemen", "", ""]
,["FL: Sapphiron", "", ""]
,["KC: Kel'Thuzad", "", ""]
]);

// VAULT OF ARCHAVON
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/VoA-10.gif"]
,["Vault of Archavon", "(10 man)", "(25 man)"]
,["Archavon the Stone Watcher", "Killed", "Killed"]
]);

// CHAMBER OF ASPECTS
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/CoA-10.gif"]
,["Chamber of Aspects", "(10 man)", "(25 man)"]
,["Sartharion the Onyx Guardian", "Killed", "Killed (no dragons up)"]
]);

// THE EYE OF ETERNITY
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/EoE-10.gif"]
,["The Eye of Eternity", "(10 man)", "(25 man)"]
,["Malygos", "", ""]
]);

// ULDUAR RAID (10 man)
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Unk-10.gif"]
,["Ulduar Raid", "(10 man)<br>-closed-", "(25 man)<br>-closed-"]
,["-unknown-", "", ""]
]);

// AZJOL-NERUB RAID (10 man)
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Unk-10.gif"]
,["Azjol-Nerub Raid", "(10 man)<br>-closed-", "(25 man)<br>-closed-"]
,["-unknown-", "", ""]
]);

// ICECROWN CITADEL
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Unk-10.gif"]
,["Icecrown Citadel", "(10 man)<br>-closed-", "(25 man)<br>-closed-"]
,["-unknown-", "", ""]
,["The Lich King", "", ""]
]);

/* ********************************************
   Don't change anything below
   ******************************************** */
// Recruitment bar
var sQ = "&#92;&#39;";
var rb = "<div><a href=\"" + linkToRecruitmentPost + "\">" + recruitTitle + "</a></div>";
 for (var j=0; j<classrq.length; j++) {
  rb += "<a href=\"" + linkToRecruitmentPost;
  rb += "\" =\"ddrivetip('<span class=recruitToolTip>";
  rb += classrq[j][1].replace(/\'/g,sQ);
  rb += "</span><br>" + classrq[j][2].replace(/\'/g,sQ);
  rb += "', '', '300');\" =\"hideddrivetip()\"><img src=\"";
  rb += classrq[j][0].replace(/\'/g,sQ) + "\"";
   if (classrq[j][2].match(recruitKeyWord)) { rb += " class=dim"; }
  rb += "></a>";
 if ( (j+1)%recruitImagesPerRow == 0 ) { rb += "<br>"; }
 }
 rb += '</a>';

// Progression Bar
var pb = "<div><a href=\"" + linkToRaidingSite + "\">" + raidingTitle + "</a></div>";
 for (var inst=0; inst < progress.length; inst++) {
  pb += "<a href=\"" + linkToRaidingSite + "\"  =\"hideddrivetip()\"";
  pb += " =\"ddrivetip('<table><tr><td class=raidingToolTip width=" + tooltipBossWidth + "px>" + progress[inst][1][0].replace(/\'/g,sQ);
  pb += "</td><td align=center valign=top nowrap width=" + tooltipKilledWidth + "px>" + progress[inst][1][1].replace(/\'/g,sQ);
  pb += "</td><td align=center valign=top nowrap width=" + tooltipKilledWidth + "px>" + progress[inst][1][2].replace(/\'/g,sQ) + "</td></tr>";
  for (var boss=2; boss<(progress[inst].length); boss++) {
   pb += "<tr><td";
   pb += (progress[inst][boss][1].match(bossKilledKeyWord) && progress[inst][boss][2].match(bossKilledKeyWord)) ? " class=killedBoss>" : ">";
   pb += progress[inst][boss][0].replace(/\'/g,sQ) + "</td><td align=center";
   pb += (progress[inst][boss][1].match(bossKilledKeyWord)) ? " class=killedText>" : ">"
   pb += progress[inst][boss][1] + "</td><td align=center";
   pb += (progress[inst][boss][2].match(bossKilledKeyWord)) ? " class=killedText>" : ">"
   pb += progress[inst][boss][2] +"</td></tr>";
  }
  pb += "</table>', '', '" + (tooltipBossWidth + tooltipKilledWidth) + "');\"><img src=\"" + progress[inst][0] + "\"";
  if (progress[inst][1][1].match(raidingKeyWord) || (progress[inst][1][1] == "" && progress[inst][2][1] == "")) pb += " class=dim";
  pb += "></a>";
  if ( (inst+1)%raidingImagesPerRow == 0 ) { pb += "<br>"; }
 }
 pb += "</a>";
 document.getElementById('recruitBar').innerHTML = rb;
 document.getElementById('raidingBar').innerHTML = pb;
</script>

Customizing the Script

Overall CSS

  • The class ".guildBar" defines the container for the recruit and progression bars. It is set as a default to width of 700 pixels (in purple), centered using the auto margin and adjusted down 110 pixels to place the bar at the bottom of the banner. You can adjust this as needed to fit your content box or header.
  • In the "#banner" CSS
    • Replace the URL in green with your image URL
    • Adjust the height of the image to match your image height (text in purple).
  • "#dhtmltooltip" defines the tooltip box, this is basically a copy of the default one with a different background color.

Recruitment Bar

CSS
  • "#recruitBar" defines the recruitment box size and font size.
  • "#recruitBar a, #recruitBar img" defines the text color of the title and the image size and border color.
  • ".recruitToolTip" defines the style and color of the tooltip title only. This actually has been overridden because the class colors are now defined in the javascript variables ("<font color=#c41f3b>Death Knight</font>")
Variables (in red)
  • Box Title (recruitTitle):
    Default is set to "Recruitment". See the CSS above on how to change it's style.
  • Icon dimming (recruitKeyWord):
    The script looks for a keyword in your class needs to determine if the class image needs to be dimmed. Default is set to "Closed". The keyword is case sensitive.
  • Icon arrangement (recruitImagesPerRow):
    At this time, there are ten classes. The bar is designed to allow you to set the number of icons per row, default is set to 10. See the second image above to see what it looks like set to 5.
  • Icon link (linkToRecruitmentPost):
    The URL to your recruitment requirements or application thread should be typed in here. Default is "http://recruitme.com".
  • Class needs:
    Change your class needs as desired. The script is set up as follows:

    classrq.push ([ "Thumbnail Image URL",
      "Class Name",
      "Class Needs"
    ])

    You only need to change the "Class Needs" portion. In the example for Druids, you will see the class needs text looks like this: "Feral<br>Resto". The <br> in the middle is HTML code for new line. You can basically type in anything you want here including HTML tags.

Progression Bar

CSS
  • "#raidingBar" defines the progression box size and font size
  • "#raidingBar a, #raidingBar img" defines the text color of the title and the image size and border color.
  • ".raidingToolTip" defines the style and color of the tooltip title.
  • ".killedBoss" defines the boss name style when it has been killed. The default is set to put a line through the name.
  • ".toKillBoss" defines the boss name style when it hasn't been killed.
  • ".killedText" defines the style for the boss status when it has been killed. The default style makes the text red.
Variables (in red)
  • Box Title raidingTitle):
    Default is set to "Progression". See the CSS above on how to change the style of this text.
  • Icon dimming (raidingKeyWord):
    The script looks for a keyword in your instance status to determine if the image needs to be dimmed. Default is set to "No|closed|unknown". You can add more keywords if you separate them by a "|" (Shift-\). The keyword is case sensitive. You can also leave the instance status blank, and as long as the first boss status is also blank, the instance icon will be dimmed.
  • Style for a killed boss (killedKeyWord):
    The script looks for this keyword in your boss status text to determine if it needs to apply CSS to it. Default is set to "Killed". You can add more keywords if you separate them by a "|" (Shift-\). The keyword is case sensitive.
  • Icon arrangement (raidingImagesPerRow):
    At this time, there are seven raid encounters listed (for WotLK expansion - including upcoming raids). The bar is designed to allow you to set the number of icons per row, default is set to 7.
  • Icon link (linkToRaidingSite):
      The URL to your a raiding status/ranking site can be added here. The default is "http://www.wowjutsu.com/us/".
  • Progression status:
    Change your instance and boss status as desired. The script is set up as follows:

    progress.push ([
     ["Thumbnail Image URL"],
     ["Instance Name", "Instance Status - 10 man", "Instance Status - 25 man"],
     ["Instance Boss #1", "Boss #1 Status - 10 man", "Boss #1 Status - 25 man"],
     ["Instance Boss #2", "Boss #2 Status - 10 man", "Boss #2 Status - 10 man"],
     ...
     ["Last Instance Boss", "Last Boss Status - 10 man", "Last Boss Status - 10 man"]
    ]);

    You only need to change the "Instance Status" and "Boss ## Status" for both the 10 man and 25 man portions of each instance. You can basically type in anything you want here including HTML tags.

Bar Style

The Guild Bar above is basically a table with three cells. The left side has the recruitment bar, the middle has the logo and the right side has the raiding bar. The HTML is in blue above. If you want to switch them, just switch the id's in the table. If you only want to use one bar you can add the HTML below:
Recruitment Bar only:
<div id="recruitBar></div>

Raiding Bar only:
<div id="raidingBar></div>
If you did decide to switch the place of the recruitment and raiding bars, make sure you edit the "#recruitBar" and "#raidingBar" in the CSS and switch the "text-align:".

The WoW image in the middle can also be replaced by your guild tabard or any other image you want. Keep the image narrow, no more than 200px wide - you can also adjust the size of the image box in the CSS (#wowImage) as needed.

Edit(1/13/2009): Rearranged the progression order
TopBottom

Avandius (New Admin) 11/12/2008 6:27 AM EST : RE: Guild Bar v1.2 (WotLK)
Avandius
Posts: 337
Fingers of Fury!

Without an equal number of icons on each side the bar is no longer centered, can this be fixed?
TopBottom

Mottie (MVP) 11/12/2008 7:44 AM EST : RE: Guild Bar v1.2 (WotLK)
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

If you look in my CSS, you'll see that instead of using percentages for the widths, I've used 300px. That should make both bars on either side the same width and thus center the bar.
TopBottom

Avandius (New Admin) 11/12/2008 7:53 AM EST : RE: Guild Bar v1.2 (WotLK)
Avandius
Posts: 337
Fingers of Fury!

AHH! Awesome, i didnt copy that part since i've edited alot of things and didnt want to redo it all. Changed it and now it works perfectly.
TopBottom

LochenTwo (Guild Admin) 12/19/2008 5:25 AM EST : RE: Guild Bar v1.2 (WotLK)
Artiste!
LochenTwo
Posts: 2072
Zomgawsh Poster

/waves to Mottie 

Mottie, do I need to do something extra to make this work with the repeating banner? I think you adjusted something before but I am not sure where.
http://www.guildportal.com/Guild.aspx?GuildID=255884&TabID=2150703

Thanks!

TopBottom

Shikarzar (Guild Admin) 12/23/2008 2:47 AM EST : RE: Guild Bar v1.2 (WotLK)
Shikarzar
Posts: 4436
Zomgawsh Poster

I'd like to have JUST the progression bar code - can someone cut out that part?  I'm not sure how to do it.  I tried cutting what I thought was the section (/* Progress Bar - Instance and Boss status) but it did not work.
TopBottom

Mottie (MVP) 12/23/2008 5:50 AM EST : RE: Guild Bar v1.2 (WotLK)
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Shikarzar

I pulled the code that you'll need out here:

HTML code

<div id="raidingBar"></div>
CSS
<style type="text/css">
.dim { opacity: .3; filter: alpha(opacity=30); }

#raidingBar { width:300px; text-align:left; vertical-align:bottom; color:#999999; font-family:sans-serif; font-size:70%; white-space:nowrap; }
#raidingBar a, #raidingBar img { color:#999999; text-decoration:none; border:0px; width:20px; height:20px; padding:0px 1px 0px 0px; }
.raidingToolTip { color: #0080ff; font-weight:bold; vertical-align:top; }

.killedBoss { color: #888888; text-decoration:line-through; }
.toKillBoss { color: #dddddd; text-decoration:none; }
.killedText { color: #ff0000; }

#dhtmltooltip { position: absolute; width: 150px; border: #888888 1px solid; padding: 3px; background: #222222; color: #dddddd; visibility: hidden; z-index: 100; }
</style>
Javascript
<script type="text/javascript">
var progress = new Array();

/* Progress Bar - Instance and Boss status
********************************************
- Each progression variable is set up as follows:
   progress.push ([
    ["Thumbnail Image URL"],
    ["Instance Name", "Instance Status - 10 man", "Instance Status - 25 man"],
    ["Instance Boss #1", "Boss #1 Status - 10 man", "Boss #1 Status - 25 man"],
    ["Instance Boss #2", "Boss #2 Status - 10 man", "Boss #2 Status - 10 man"],
    ...
    ["Last Instance Boss", "Last Boss Status - 10 man", "Last Boss Status - 10 man"]
   ]);
- The "raidingKeyWord" defines the word to match in the "Instance Status"
  to set icon dimmer, the text is case sensitive. Default is set to "No"...
  so, the words "No", "Not", "None" and "Noogies" will all cause the
  instance icon to dim. Also, leaving the "Instance Status" and the first
  boss status ("Boss #1 Status") blank will dim the icon.
- The "bossKilledKeyWord" defines the word to match to then apply the
  "killedBoss" and "killedText" CSS classes to the text.
******************************************** */
var raidingTitle = "Progression";
var raidingKeyWord = "No|closed|unknown";
var bossKilledKeyWord = "Killed";
var raidingImagesPerRow = 7;
var tooltipBossWidth = 250;
var tooltipKilledWidth = 80;
var linkToRaidingSite = "http://www.wowjutsu.com/us/";

/* ********************************************
   Wrath of the Lich King
   ******************************************** */
// NAXXRAMAS II
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Nax2-10.gif"]
,["Naxxramas II", "(10 man)<br>In Progress", "(25 man)"]
,["AW: Patchwerk", "Killed", "Killed"]
,["AW: Grobbulus", "Killed", ""]
,["AW: Gluth", "Killed", ""]
,["AW: Thaddius", "Attempted", ""]
,["PW: Noth the Plaguebringer", "Attempted", ""]
,["PW: Heigan the Unclean", "", ""]
,["PW: Loatheb", "", ""]
,["SW: Anub'Rekhan", "Killed", "Ouchy"]
,["SW: Grand Widow Faerlina", "Killed", ""]
,["SW: Maexxna", "", ""]
,["DW: Instructor Razuvious", "Killed", ""]
,["DW: Gothik the Harvester", "", ""]
,["DW: The Four Horsemen", "", ""]
,["FL: Sapphiron", "", ""]
,["KC: Kel'Thuzad", "", ""]
]);

// VAULT OF ARCHAVON
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/VoA-10.gif"]
,["Vault of Archavon", "(10 man)", "(25 man)"]
,["Archavon the Stone Watcher", "", ""]
]);

// CHAMBER OF ASPECTS
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/CoA-10.gif"]
,["Chamber of Aspects", "(10 man)", "(25 man)"]
,["Sartharion the Onyx Guardian", "", ""]
]);

// THE EYE OF ETERNITY
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/EoE-10.gif"]
,["The Eye of Eternity", "(10 man)", "(25 man)"]
,["Malygos", "Killed", ""]
]);

// ULDUAR RAID (10 man)
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Unk-10.gif"]
,["Ulduar Raid", "(10 man)<br>-closed-", "(25 man)<br>-closed-"]
,["-unknown-", "", ""]
]);

// AZJOL-NERUB RAID (10 man)
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Unk-10.gif"]
,["Azjol-Nerub Raid", "(10 man)<br>-closed-", "(25 man)<br>-closed-"]
,["-unknown-", "", ""]
]);

// ICECROWN CITADEL
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Unk-10.gif"]
,["Icecrown Citadel", "(10 man)<br>-closed-", "(25 man)<br>-closed-"]
,["-unknown-", "", ""]
,["The Lich King", "", ""]
]);

/* ********************************************
   Don't change anything below
   ******************************************** */
// Progression Bar
var sQ = "&#92;&#39;";
var pb = "<div><a href=\"" + linkToRaidingSite + "\">" + raidingTitle + "</a></div>";
 for (var inst=0; inst < progress.length; inst++) {
  pb += "<a href=\"" + linkToRaidingSite + "\"  =\"hideddrivetip()\"";
  pb += " =\"ddrivetip('<table><tr><td class=raidingToolTip width=" + tooltipBossWidth + "px>" + progress[inst][1][0].replace(/\'/g,sQ);
  pb += "</td><td align=center valign=top nowrap width=" + tooltipKilledWidth + "px>" + progress[inst][1][1].replace(/\'/g,sQ);
  pb += "</td><td align=center valign=top nowrap width=" + tooltipKilledWidth + "px>" + progress[inst][1][2].replace(/\'/g,sQ) + "</td></tr>";
  for (var boss=2; boss<(progress[inst].length); boss++) {
   pb += "<tr><td";
   pb += (progress[inst][boss][1].match(bossKilledKeyWord) && progress[inst][boss][2].match(bossKilledKeyWord)) ? " class=killedBoss>" : ">";
   pb += progress[inst][boss][0].replace(/\'/g,sQ) + "</td><td align=center";
   pb += (progress[inst][boss][1].match(bossKilledKeyWord)) ? " class=killedText>" : ">"
   pb += progress[inst][boss][1] + "</td><td align=center";
   pb += (progress[inst][boss][2].match(bossKilledKeyWord)) ? " class=killedText>" : ">"
   pb += progress[inst][boss][2] +"</td></tr>";
  }
  pb += "</table>', '', '" + (tooltipBossWidth + tooltipKilledWidth) + "');\"><img src=\"" + progress[inst][0] + "\"";
  if (progress[inst][1][1].match(raidingKeyWord) || (progress[inst][1][1] == "" && progress[inst][2][1] == "")) pb += " class=dim";
  pb += "></a>";
  if ( (inst+1)%raidingImagesPerRow == 0 ) { pb += "<br>"; }
 }
 pb += "</a>";
 document.getElementById('raidingBar').innerHTML = pb;
</script>
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%