<!-- HTML Combined Box (with image) ************************************ --> <table class="guildBar" align="center"> <tr> <td id="recruitBar"></td> <td id="wowImage"></td> <td id="raidingBar"></td> </tr> </table> <!-- Stylesheet ************************************ --> <style type="text/css"> .guildBar { width:740px; margin-right:auto; margin-left:auto;} #wowImage { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/TBC.png) center center no-repeat; width:175px; height:90px; } .dim { opacity: .3; filter: alpha(opacity=30); } #recruitBar { width:280px; text-align:right; vertical-align:bottom; font-family:sans-serif; font-size:70%; white-space:nowrap; } #recruitBar a, #recruitBar img { color:#999; 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:280px; text-align:left; vertical-align:bottom; color:#999; font-family:sans-serif; font-size:70%; white-space:nowrap; } #raidingBar a, #raidingBar img { color:#999; 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> <script src="http://www.axiomfiles.com/Files/243007/guildbar.js"></script>
If you want to add this guild bar into the banner area, it will be necessary to put the javascript below into a file. Copy and paste the code below into notepad and save the file as "guildbar.js". You need to do this because the script is too long to fit into the Banner Area. If you put this into a content box and want to include the javascript, just slap a "<script type=text/javascript>" to the top and a "</script>" at the bottom. 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.
var classrq = new Array(); var progress = new Array(); /* Recruitment Bar - Class Needs ******************************************** - Each class variable is set up as follows: classrq.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. - All apostrophes/single quotes (') are replaced with "\'". This is required for the tooltips to work properly. ******************************************** */ var recruitTitle = "Recruitment"; var recruitKeyWord = "Closed"; var recruitImagesPerRow = 10; var linkToRecruitmentPost = "http://recruitme.com"; classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/druid.gif", "Druid", "Feral<br>Resto" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/hunter.gif", "Hunter", "BM/Marksman (650+ DPS only)" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/mage.gif", "Mage", "Frost/Arcane" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/paladin.gif", "Paladin", "Prot<br>Holy" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/priest.gif", "Priest", "Shadow<br>Holy" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/rogue.gif", "Rogue", "Closed" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/shaman.gif", "Shaman", "Resto" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/warlock.gif", "Warlock", "Affliction" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/warrior.gif", "Warrior", "Closed" ]); classrq.push (["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/dk.png", "Death Knight", "Closed" ]); /* Progress Bar - Instance and Boss status ******************************************** - Each progression variable is set up as follows: progress.push ([ ["Thumbnail Image URL"], ["Instance Name", "Instance Status"], ["Instance Boss #1", "Boss #1 Status"], ["Instance Boss #2", "Boss #2 Status"], ... ["Last Instance Boss", "Last Boss Status"] ]); - 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. - The "bossKilledKeyWord" defines the word to match to then apply the "killedBoss" and "killedText" CSS classes to the text. - All apostrophes/single quotes (') are replaced with "\'". This is required for the tooltips to work properly. ******************************************** */ var raidingTitle = "Progression"; var raidingKeyWord = "No"; var bossKilledKeyWord = "Killed"; var raidingImagesPerRow = 11; var linkToRaidingSite = "http://www.wowjutsu.com/us/"; /* ******************************************** The Burning Crusade ******************************************** */ // KARAZHAN progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Kar.gif"], ["Karazhan", "(Farm)"], ["Animal Boss", "Killed"], ["Attumen the Huntsman", "Killed"], ["Moroes", "Killed"], ["Maiden of Virtue", "Killed"], ["Opera Event", "Killed"], ["Nightbane", "Killed"], ["The Curator", "Killed"], ["Shade of Aran", "Killed"], ["Terestian Illhoof", "Killed"], ["Netherspite", "Killed"], ["Chess Event", "Killed"], ["Prince Malchezaar", "Killed"] ]); // ZUL'AMAN progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ZA.gif"], ["Zul\'Aman", "(in progress)"], ["Nalorakk", "Killed"], ["Akil\'Zon", "Killed"], ["Jan\'Alai", "Killed"], ["Halazzi", "Killed"], ["Malacrass", "60%"], ["Zul\'jin", ""] ]); // DOOM LORD KAZZAK progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DLK.gif"], ["Doom Lord Kazzak", ""], ["Doom Lord Kazzak", ""] ]); // DOOMWALKER progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DW.gif"], ["Doomwalker", "We be Noobs"], ["Doomwalker", ""] ]); // GRUUL'S LAIR progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GL.gif"], ["Gruul\'s Lair", "(Farm)"], ["High King Maulgar", "Killed"], ["Gruul", "Killed"] ]); // MAGTHERIDON'S LAIR progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Mag.gif"], ["Magtheridon\'s Lair", "(Farm)"], ["Magtheridon", "Killed"] ]); // SERPENTSHRINE CAVERN progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SSC.gif"], ["Serpentshrine Cavern", ""], ["Lurker", "Killed"], ["Hydross", "Killed"], ["Morogrim", "Killed"], ["Leotheras", "Killed"], ["Karathress", "Killed"], ["Lady Vashj", "Killed"] ]); // THE EYE, TEMPEST KEEP progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/TK.gif"], ["The Eye", ""], ["Void Reaver", "Killed"], ["Al\'ar", "Killed"], ["Solarian", "Killed"], ["Kael\'thas", "Killed"] ]); // BATTLE FOR MOUNT HYJAL progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/MH.gif"], ["Battle for Mount Hyjal", "(in progress)"], ["Rage Winterchill", "Killed"], ["Anetheron", "Killed"], ["Kaz\'rogal", "Killed"], ["Azgalor", "Killed"], ["Archimonde", "10%"] ]); // BLACK TEMPLE progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/BT.gif"], ["Black Temple", "(in progress)"], ["High Warlord Naj\'entus", "Killed"], ["Supremus", "Killed"], ["Shade of Akama", "Killed"], ["Teron Gorefiend", "40%"], ["Gurtogg Bloodboil", ""], ["Reliquary of Souls", ""], ["Mother Shahraz", ""], ["The Illidari Council", ""], ["Illidan Stormrage", ""] ]); // SUNWELL PLATEAU progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SP.gif"], ["Sunwell Plateau", "Nothing to see here, move along"], ["Kalecgos", ""], ["Brutallus", ""], ["Felmyst", ""], ["Eredar Twins", ""], ["M\'uru", ""], ["Kil\'jaeden", ""] ]); /* ******************************************** Don't change anything below ******************************************** */ // Recruitment bar 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]; rb += "</span><br>" + classrq[j][2]; rb += "', '', '300');\" =\"hideddrivetip()\"><img src=\""; rb += classrq[j][0] + "\""; if (classrq[j][2] == 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; pb += "\" =\"ddrivetip('<table><tr><td class=raidingToolTip width=200px>"; pb += progress[inst][1][0] + "</td><td>" + progress[inst][1][1] + "</td></tr>"; for (var boss=2; boss < (progress[inst].length); boss++) { if (progress[inst][boss][1].match(bossKilledKeyWord)) { pb += "<tr><td class=killedBoss>" + progress[inst][boss][0] + "</td><td class=killedText>"; } else { pb += "<tr><td class=toKillBoss>" + progress[inst][boss][0] + "</td><td>"; } pb += progress[inst][boss][1] + "</td></tr>"; } pb += "</table>', '', '300');\" =\"hideddrivetip()\"><img src=\""; pb += 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;
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/TBC.png"></td> <td id="raidingBar"></td> </tr> </table> </div> <!-- Stylesheet ************************************ --> <style type="text/css"> .guildBar { width:500px; 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:33%; text-align:right; vertical-align:bottom; font-family:sans-serif; font-size:70%; white-space:nowrap; } #recruitBar a, #recruitBar img { color:#999; 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:33%; text-align:left; vertical-align:bottom; color:#999; font-family:sans-serif; font-size:70%; white-space:nowrap; } #raidingBar a, #raidingBar img { color:#999; 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> <script src="URL TO YOUR guildbar.js"></script>
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://www.guildportal.com/GuildImages/WOWRosterImages/druid.gif", "Druid", "Feral<br>Resto" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/hunter.gif", "Hunter", "BM/Marksman (650+ DPS only fo' shizzle)" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/mage.gif", "Mage", "Frost/Arcane" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/paladin.gif", "Paladin", "Prot<br>Holy" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/priest.gif", "Priest", "Shadow<br>Holy" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/rogue.gif", "Rogue", "Closed" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/shaman.gif", "Shaman", "Resto" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/warlock.gif", "Warlock", "Affliction" ]); classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/warrior.gif", "Warrior", "Closed" ]); classrq.push (["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/dk.png", "Death Knight", "Closed, for now" ]); /* Progress Bar - Instance and Boss status ******************************************** - Each progression variable is set up as follows: progress.push ([ ["Thumbnail Image URL"], ["Instance Name", "Instance Status"], ["Instance Boss #1", "Boss #1 Status"], ["Instance Boss #2", "Boss #2 Status"], ... ["Last Instance Boss", "Last Boss Status"] ]); - 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"; var bossKilledKeyWord = "Killed"; var raidingImagesPerRow = 11; var linkToRaidingSite = "http://www.wowjutsu.com/us/"; /* ******************************************** The Burning Crusade ******************************************** */ // KARAZHAN progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Kar.gif"], ["Karazhan", "(Farm)"], ["Animal Boss", "Killed"], ["Attumen the Huntsman", "Killed"], ["Moroes", "Killed"], ["Maiden of Virtue", "Killed"], ["Opera Event", "Killed"], ["Nightbane", "Killed"], ["The Curator", "Killed"], ["Shade of Aran", "Killed"], ["Terestian Illhoof", "Killed"], ["Netherspite", "Killed"], ["Chess Event", "Killed"], ["Prince Malchezaar", "Killed"] ]); // ZUL'AMAN progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ZA.gif"], ["Zul'Aman", "(in progress)"], ["Nalorakk", "Killed"], ["Akil'Zon", "Killed"], ["Jan'Alai", "Killed"], ["Halazzi", "Killed"], ["Malacrass", "60%"], ["Zul'jin", ""] ]); // DOOM LORD KAZZAK progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DLK.gif"], ["Doom Lord Kazzak", "Noogied us"], ["Doom Lord Kazzak", ""] ]); // DOOMWALKER progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DW.gif"], ["Doomwalker", ""], ["Doomwalker", ""] ]); // GRUUL'S LAIR progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GL.gif"], ["Gruul's Lair", "(Farm)"], ["High King Maulgar", "Killed"], ["Gruul", "Killed"] ]); // MAGTHERIDON'S LAIR progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Mag.gif"], ["Magtheridon's Lair", "(Farm)"], ["Magtheridon", "Killed"] ]); // SERPENTSHRINE CAVERN progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SSC.gif"], ["Serpentshrine Cavern", ""], ["Lurker", "Killed"], ["Hydross", "Killed"], ["Morogrim", "Killed"], ["Leotheras", "Killed"], ["Karathress", "Killed"], ["Lady Vashj", "Killed"] ]); // THE EYE, TEMPEST KEEP progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/TK.gif"], ["The Eye", ""], ["Void Reaver", "Killed"], ["Al'ar", "Killed"], ["Solarian", "Killed"], ["Kael'thas", "Killed"] ]); // BATTLE FOR MOUNT HYJAL progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/MH.gif"], ["Battle for Mount Hyjal", "(in progress)"], ["Rage Winterchill", "Killed"], ["Anetheron", "Killed"], ["Kaz'rogal", "Killed"], ["Azgalor", "Killed"], ["Archimonde", "10%"] ]); // BLACK TEMPLE progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/BT.gif"], ["Black Temple", "(in progress)"], ["High Warlord Naj'entus", "Killed"], ["Supremus", "Killed"], ["Shade of Akama", "Killed"], ["Teron Gorefiend", "40%"], ["Gurtogg Bloodboil", ""], ["Reliquary of Souls", ""], ["Mother Shahraz", ""], ["The Illidari Council", ""], ["Illidan Stormrage", ""] ]); // SUNWELL PLATEAU progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SP.gif"], ["Sunwell Plateau", "Nothing to see here, move along"], ["Kalecgos", ""], ["Brutallus", ""], ["Felmyst", ""], ["Eredar Twins", ""], ["M'uru", ""], ["Kil'jaeden", ""] ]); /* ******************************************** 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; pb += "\" =\"ddrivetip('<table><tr><td class=raidingToolTip width=200px>"; pb += progress[inst][1][0].replace(/\'/g,sQ) + "</td><td>" + progress[inst][1][1].replace(/\'/g,sQ) + "</td></tr>"; for (var boss=2; boss < (progress[inst].length); boss++) { if (progress[inst][boss][1].match(bossKilledKeyWord)) { pb += "<tr><td class=killedBoss>" + progress[inst][boss][0].replace(/\'/g,sQ) + "</td><td class=killedText>"; } else { pb += "<tr><td class=toKillBoss>" + progress[inst][boss][0].replace(/\'/g,sQ) + "</td><td>"; } pb += progress[inst][boss][1] + "</td></tr>"; } pb += "</table>', '', '300');\" =\"hideddrivetip()\"><img src=\""; pb += 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;
<!-- 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>
<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 = "\'"; 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>
<!-- 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; } #dhtmltooltip { position: absolute; width: 150px; border: #888888 1px solid; padding: 3px; background: #222222; color: #dddddd; visibility: hidden; z-index: 100; } </style>
<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 = 7; 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-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", "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-10.gif"] ,["Vault of Archavon", "(10 man)", "(25 man)"] ,["Archavon the Stone Watcher", "Killed", "Killed"] ,["Emalon the Storm 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", "Killed", "Killed (no dragons up)"] ,["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-10.gif"] ,["The Eye of Eternity", "(10 man)", "(25 man)"] ,["Malygos", "", ""] ]); // ULDUAR progress.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Uld.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", "", ""] ]); // AZJOL-NERUB RAID 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 = "\'"; 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>
<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>