Guild Bar Version 1.22 - Trial of the Crusader update
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; } .attemptedBoss { color: #00ff00; } #tooltip { 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
<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 bossAttemptedKeyWord = "Attempted|%"; var raidingImagesPerRow = 9; var tooltipBossWidth = 275; 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.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", "25%", ""] ,["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.gif"] ,["Vault of Archavon", "(10 man)", "(25 man)"] ,["Archavon the Stone Watcher", "Killed", "Killed"] ,["Emalon the Storm Watcher", "", ""] ,["Kolaron the Flame Watcher", "", ""] ]); // CHAMBER OF ASPECTS progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/OS.gif"] ,["Chamber of Aspects", "(10 man)", "(25 man)"] ,["Sartharion the Onyx Guardian", "Killed", "Killed"] ,["Sartharion + 1 Drake", "", ""] ,["Sartharion + 2 Drakes", "", ""] ,["Sartharion + 3 Drakes", "", ""] ]); // THE EYE OF ETERNITY progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/EoE.gif"] ,["The Eye of Eternity", "(10 man)", "(25 man)"] ,["Malygos", "", ""] ]); // ULDUAR progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ulduar.gif"] ,["Ulduar", "(10 man)", "(25 man)"] ,["Flame Leviathan", "", ""] ,["Ignis the Furnace Master", "", ""] ,["Razorscale", "", ""] ,["XT-002 Deconstructor", "", ""] ,["The Iron Council", "", ""] ,["Kologarn", "", ""] ,["Auriya", "", ""] ,["Mimiron", "", ""] ,["Watcher Freya", "", ""] ,["Watcher Thorim", "", ""] ,["Watcher Hodir", "", ""] ,["General Vezax", "", ""] ,["Yogg-Saron", "", ""] ,["Algalon the Observer", "", ""] ]); // TRIAL OF THE CRUSADER progress.push([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Crusader.gif"] ,["Trial of the Crusader", "(10 man)", "(25 man)"] ,["Northrend Beasts", "", ""] ,["Lord Jaraxxus", "", ""] ,["Faction Champions", "", ""] ,["Twin Val'kyr", "", ""] ,["Anub'arak", "", ""] ]); // TRIAL OF THE GRAND CRUSADER progress.push([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GrandCrusader.gif"] ,["Trial of the Grand Crusader", "(10 Heroic)", "(25 Heroic)"] ,["Northrend Beasts", "", ""] ,["Lord Jaraxxus", "", ""] ,["Faction Champions", "", ""] ,["Twin Val'kyr", "", ""] ,["Anub'arak", "", ""] ]); // ONYXIA progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/onx.gif"] ,["Onyxia", "(10 Heroic)", "(25 Heroic)"] ,["Onyxia", "", ""] ]); // 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 = "\'"; 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(bossAttemptedKeyWord)) ? " class=attemptedBoss" : ""; pb += (progress[inst][boss][1].match(bossKilledKeyWord)) ? " class=killedText" : ""; pb += ">" + progress[inst][boss][1] + "</td><td align=center"; pb += (progress[inst][boss][2].match(bossAttemptedKeyWord)) ? " class=attemptedBoss" : ""; 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>"; $('#recruitBar').html(rb); $('#raidingBar').html(pb); </script>
// TRIAL OF THE CRUSADER progress.push([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Crusader.gif"] ,["Trial of the Crusader", "(10 man)", "(25 man)"] ,["Northrend Beasts", "", ""] ,["Lord Jaraxxus", "", ""] ,["Faction Champions", "", ""] ,["Twin Val'kyr", "", ""] ,["Anub'arak", "", ""] ]);
// TRIAL OF THE GRAND CRUSADER progress.push([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GrandCrusader.gif"] ,["Trial of the Grand Crusader", "(10 Heroic)", "(25 Heroic)"] ,["Northrend Beasts", "", ""] ,["Lord Jaraxxus", "", ""] ,["Faction Champions", "", ""] ,["Twin Val'kyr", "", ""] ,["Anub'arak", "", ""] ]);
// ONYXIA progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/onx.gif"] ,["Onyxia", "(10 Heroic)", "(25 Heroic)"] ,["Onyxia", "", ""] ]); // 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 = "\'"; 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(bossAttemptedKeyWord)) ? " class=attemptedBoss" : ""; pb += (progress[inst][boss][1].match(bossKilledKeyWord)) ? " class=killedText" : ""; pb += ">" + progress[inst][boss][1] + "</td><td align=center"; pb += (progress[inst][boss][2].match(bossAttemptedKeyWord)) ? " class=attemptedBoss" : ""; 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>"; $('#recruitBar').html(rb); $('#raidingBar').html(pb); </script>
Customizing the Script
Overall CSS
Recruitment Bar
Progression Bar
Bar Style
Recruitment Bar only: <div id="recruitBar></div> Raiding Bar only: <div id="raidingBar></div>
<!-- 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> <script src="http://www.axiomfiles.com/Files/######/guildbar.js"></script> <!-- Stylesheet ************************************ --> <style type="text/css"> .guildBar { width:500px; margin-right:auto; margin-left:auto; margin-top:110px;} #banner { background: #000 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/bkgd_rez2.jpg) top center no-repeat; height:150px; border: transparent 1px solid; } .dim { opacity: .4; filter: alpha(opacity=40); } #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; } .attemptedBoss { color: #00ff00; } </style>
Make a "guildbar.js" file
var classrq = []; var progress = []; /* 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 recruitIconsPerRow = 10; var recruitTooltipWidth = 150; 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", "<img src='http://www.guildportal.com/GuildImages/WOWRosterImages/druid.gif' style='float:right;'><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: wowWotLK.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 bossAttemptedKeyWord = "Attempted|%"; var raidingIconsPerRow = 10; var tooltipBossWidth = 275; var tooltipKilledWidth = 80; var linkToRaidingSite = "http://wow.guildprogress.com/"; /* ******************************************** Wrath of the Lich King ******************************************** */ // NAXXRAMAS II progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Nax2.gif"] ,["Naxxramas II", "(10 man)", "(25 man)"] ,["AW: Patchwerk", "", ""] ,["AW: Grobbulus", "", ""] ,["AW: Gluth", "", ""] ,["AW: Thaddius", "", ""] ,["PW: Noth the Plaguebringer", "", ""] ,["PW: Heigan the Unclean", "", ""] ,["PW: Loatheb", "", ""] ,["SW: Anub'Rekhan", "", ""] ,["SW: Grand Widow Faerlina", "", ""] ,["SW: Maexxna", "", ""] ,["DW: Instructor Razuvious", "", ""] ,["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.gif"] ,["Vault of Archavon", "(10 man)", "(25 man)"] ,["Archavon the Stone Watcher", "", ""] ,["Emalon the Storm Watcher", "", ""] ,["Kolaron the Flame Watcher", "", ""] ]); // CHAMBER OF ASPECTS progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/OS.gif"] ,["Chamber of Aspects", "(10 man)", "(25 man)"] ,["Sartharion the Onyx Guardian", "", ""] ,["Sartharion + 1 Drake", "", ""] ,["Sartharion + 2 Drakes", "", ""] ,["Sartharion + 3 Drakes", "", ""] ]); // THE EYE OF ETERNITY progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/EoE.gif"] ,["The Eye of Eternity", "(10 man)", "(25 man)"] ,["Malygos", "", ""] ]); // ULDUAR progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ulduar.gif"] ,["Ulduar", "(10 man)", "(25 man)"] ,["Flame Leviathan", "", ""] ,["Ignis the Furnace Master", "", ""] ,["Razorscale", "", ""] ,["XT-002 Deconstructor", "", ""] ,["The Iron Council", "", ""] ,["Kologarn", "", ""] ,["Auriya", "", ""] ,["Mimiron", "", ""] ,["Watcher Freya", "", ""] ,["Watcher Thorim", "", ""] ,["Watcher Hodir", "", ""] ,["General Vezax", "", ""] ,["Yogg-Saron", "", ""] ,["Algalon the Observer", "", ""] ]); // ONYXIA progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/onx.gif"] ,["Onyxia", "(10 Heroic)", "(25 Heroic)"] ,["Onyxia", "", ""] ]); // TRIAL OF THE CRUSADER progress.push([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Crusader.gif"] ,["Trial of the Crusader", "(10 man)", "(25 man)"] ,["Northrend Beasts", "", ""] ,["Lord Jaraxxus", "", ""] ,["Faction Champions", "", ""] ,["Twin Val'kyr", "", ""] ,["Anub'arak", "", ""] ]); // TRIAL OF THE GRAND CRUSADER (HEROIC) progress.push([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GrandCrusader.gif"] ,["Trial of the Grand Crusader", "(10 Heroic)", "(25 Heroic)"] ,["Northrend Beasts", "", ""] ,["Lord Jaraxxus", "", ""] ,["Faction Champions", "", ""] ,["Twin Val'kyr", "", ""] ,["Anub'arak", "", ""] ]); // ICECROWN CITADEL progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/icc.png"] ,["Icecrown Citadel", "(10 man)<br>-closed-", "(25 man)<br>-closed-"] ,["Lord Marrowgar", "", ""] ,["Lady Deathwhisper", "", ""] ,["Icecrown Gunship Battle", "", ""] ,["Deathbringer Saurfang", "", ""] ,["Festergut", "", ""] ,["Rotface", "", ""] ,["Professor Putricide", "", ""] ,["Prince Valanar", "", ""] ,["Prince Keleseth", "", ""] ,["Prince Taldram", "", ""] ,["Blood-Queen Lana'thel", "", ""] ,["Valithria Dreamwalker", "", ""] ,["Sindragosa", "", ""] ,["The Lich King", "", ""] ]); // ICECROWN CITADEL HEROIC progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/icc.png"] ,["Icecrown Citadel Heroic", "(10 Heroic)<br>-closed-", "(25 Heroic)<br>-closed-"] ,["Lord Marrowgar", "", ""] ,["Lady Deathwhisper", "", ""] ,["Icecrown Gunship Battle", "", ""] ,["Deathbringer Saurfang", "", ""] ,["Festergut", "", ""] ,["Rotface", "", ""] ,["Professor Putricide", "", ""] ,["Prince Valanar", "", ""] ,["Prince Keleseth", "", ""] ,["Prince Taldram", "", ""] ,["Blood-Queen Lana'thel", "", ""] ,["Valithria Dreamwalker", "", ""] ,["Sindragosa", "", ""] ,["The Lich King", "", ""] ]); /********************************************* Don't change anything below *********************************************/ // Recruitment bar var sQ = '"'; var rb = '<div><a href="' + linkToRecruitmentPost + '">' + recruitTitle + '</a></div>'; for (var j=0; j<classrq.length; j++) { rb += '<a href="' + linkToRecruitmentPost + '" class="tooltip" rel="' + recruitTooltipWidth + '" title="<span class=recruitToolTip>' + classrq[j][1].replace(/\"/g,sQ) + '</span><br>' + classrq[j][2].replace(/\"/g,sQ) + '"><img src="' + classrq[j][0].replace(/\"/g,sQ) + '"'; if (classrq[j][2].match(recruitKeyWord)) { rb += ' class=dim'; } rb += '></a>'; if ( (j+1)%recruitIconsPerRow == 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 + '" class="tooltip" title="<table><tr><td class=raidingToolTip width=' + tooltipBossWidth + '>' + progress[inst][1][0].replace(/\"/g,sQ) + '</td><td align=center valign=top nowrap width=' + tooltipKilledWidth + '>' + progress[inst][1][1].replace(/\"/g,sQ) + '</td><td align=center valign=top nowrap width=' + tooltipKilledWidth + '>' + 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(bossAttemptedKeyWord)) ? ' class=attemptedBoss' : ''; pb += (progress[inst][boss][1].match(bossKilledKeyWord)) ? ' class=killedText' : ''; pb += '>' + progress[inst][boss][1] + '</td><td align=center'; pb += (progress[inst][boss][2].match(bossAttemptedKeyWord)) ? ' class=attemptedBoss' : ''; pb += (progress[inst][boss][2].match(bossKilledKeyWord)) ? ' class=killedText' : ''; pb += '>' + progress[inst][boss][2] + '</td></tr>'; } pb += '</table>" rel="' + (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)%raidingIconsPerRow == 0 ) { pb += '<br>'; } } pb += '</a>'; $('#recruitBar').html(rb); $('#raidingBar').html(pb);
Required Tooltip Script
<style type="text/css"> .tooltip, .preview, .screenshot { cursor:pointer; } #tooltip, #tooltip2, #preview, #screenshot { color:#dddddd; background: #222222; border: 1px solid #333333; padding:5px; display:none; opacity: 0.9; filter: alpha(opacity=90); text-align:left; border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } </style> <script src="http://www.axiomfiles.com/Files/258012/tooltip.js" type="text/javascript"></script>
Recruitment Bar only: <div id="recruitBar"></div> Raiding Bar only: <div id="raidingBar"></div>
<!-- HTML Combined Box (with image) ************************************ --> <div id="banner" style="text-align: center;"> <table border="0" class="guildBar"> <tbody> <tr> <td align="top"><img alt="" src="http://www.axiomfiles.com/Files/348053/symbol_horde.jpg" /></td> <td id="wowImage"><img alt="" src="http://www.axiomfiles.com/Files/348053/wotlk_logo.jpg" /></td> <td align="top"><img alt="" src="http://www.axiomfiles.com/Files/348053/symbol_horde.jpg" /></td> </tr> <tr> <td id="recruitBar"> </td> <td> </td> <td id="raidingBar"> </td> </tr> </tbody> </table> </div> <script src="http://www.axiomfiles.com/Files/348053/guildbar.js"></script>
<style type="text/css"> .tooltip, .preview, .screenshot { cursor:pointer; } #tooltip, #tooltip2, #preview, #screenshot { color:#dddddd; background:#222222; border: 1px solid #333333; padding:5px; display:none; opacity: 0.9; filter: alpha(opacity=90); text-align:left; border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } </style> <script src="http://www.axiomfiles.com/Files/258012/tooltip.js" type="text/javascript"></script>