Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : Archive > WoW Guild Bar
Mottie (SuperAdmin) 5/12/2009 6:28 PM EST : RE: WoW Guild Bar v1.21 (Ulduar)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Vadle!

You're just missing the tooltip script that Guildportal removed a while back... just add this to your header (oops, I meant) Banner HTML
<script src="http://www.axiomfiles.com/Files/243007/dtips.js" type="text/javascript"></script>
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Necrodead (Applicant) 6/4/2009 4:50 AM EST : RE: WoW Guild Bar v1.21 (Ulduar)

Necrodead
Posts: 20

0
Like

0
Dislike

Where do  I find the header at?

TopBottom

Mottie (SuperAdmin) 6/4/2009 1:09 PM EST : RE: WoW Guild Bar v1.21 (Ulduar)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Necrodead!

Opps I meant to call it "Banner HTML".... you can get to it from the control panel (Control Panel > Custom Code > Banner HTML)
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Mottie (SuperAdmin) 8/7/2009 11:57 AM EST : RE: WoW Guild Bar v1.21 (Ulduar)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

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

Guild Bar Version 1.22 - Trial of the Crusader update

Changes from v1.21:
  • Added the Trial of the (Grand) Crusader instance to the script as well as the new boss in the Vault.
  • Updated all the icon links
  • Everything else in this script is the same (I copied and pasted it LOL)

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

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. If you already have too much stuff in the footer, some info may get lost.

    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 bossAttemptedKeyWord = "Attempted|%";
var raidingImagesPerRow = 10;
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 = "&#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(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

  • 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.
  • ".attemptedBoss" defines the style for an attempted kill on a boss. The default style makes the text green.
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 (bossKilledKeyWord):
    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.
  • Style for an attempted boss (bossAttemptedKeyWord):
    The script looks for this keyword in the boss status text to determine if it needs to apply CSS to it. Default is set to "Attempted|%". The "%" sign will cover any number you enter with a % health of the boss (e.g. "25%"). 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.
  • Tooltip sizes (tooltipBossWidth & tooltipKilledWidth): This sets the width of the boss name on the left, and each column that shows the boss status. The name column is set to 275 pixels and each status column is set to 80 pixels wide.
  • 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 (9/23/2009): Added Onxyia to the list. Also make sure you increase this value: var recruitImagesPerRow = 10;
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Altium (Applicant) 8/22/2009 6:47 AM EST : RE: WoW Guild Bar v1.21 (Ulduar)

Altium
Posts: 18

0
Like

0
Dislike

and a easy way that a person not understanding all that would do it how???? >.< gah new to this make a web site thingie and havent a clue what i am to do ....-.-
TopBottom

Mottie (SuperAdmin) 8/22/2009 9:42 AM EST : RE: WoW Guild Bar v1.21 (Ulduar)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Altium!

Thanks for stopping at my Help site!

Well, I try to make my instructions step-by-step (at least the very first post). So, you could try starting there. But I would recommend making yourself a test site where you can experiment and learn without interrupting the use of your main site in case something goes wrong.

What I would like you to do for me would be to try using these instructions and give me feedback on parts that aren't clear or places where you get stuck. I would like to make the instructions as clear as possible. So please feel free to post questions in the forums or message me for help 
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Kafuri (Applicant) 8/24/2009 7:33 PM EST : RE: WoW Guild Bar v1.21 (Ulduar)

Kafuri
Posts: 123

0
Like

0
Dislike

I've tried adding this a million different ways, and I simply cannot get the progression and recruitment bars to show up.  Only the center World of Warcraft Wrath of the Lich King icon to appear. What am I doing wrong?

I have this in my Content Box Custom CSS Codes:


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
<style type="text/css">
.guildBar { width:700px; margin-right:auto; margin-left:auto; margin-top:110px;}
#banner { background: url(http://visions.egamesource.com/mkportal/templates/Forum/images/logo.png) 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>




and in my Custom CSS Footer HTML box I have:

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

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>",
"Open"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/druid.gif",
"<font color=#ff7d0a>Druid</font>",
"Open<br>Restoration"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/hunter.gif",
"<font color=#abd473>Hunter</font>",
"Open"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/mage.gif",
"<font color=#69ccf0>Mage</font>",
"Closed"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/paladin.gif",
"<font color=#f58cba>Paladin</font>",
"Open<br>Holy"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/priest.gif",
"<font color=#ffffff>Priest</font>",
"Open"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/rogue.gif",
"<font color=#fff569>Rogue</font>",
"Open"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/shaman.gif",
"<font color=#2459ff>Shaman</font>",
"Open<br>Restoration<br>Enhancement"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/warlock.gif",
"<font color=#9482c9>Warlock</font>",
"Open"
]);
classrq.push (["http://www.guildportal.com/GuildImages/WOWRosterImages/warrior.gif",
"<font color=#c79c6e>Warrior</font>",
"Open<br>Arms<br>Fury"
]);

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", "Killed"]
,["AW: Gluth", "Killed", "Killed"]
,["AW: Thaddius", "Killed", "Killed"]
,["PW: Noth the Plaguebringer", "Killed", "Killed"]
,["PW: Heigan the Unclean", "Killed", "Killed"]
,["PW: Loatheb", "Killed", "Killed"]
,["SW: Anub'Rekhan", "Killed", "Killed"]
,["SW: Grand Widow Faerlina", "Killed", "Killed"]
,["SW: Maexxna", "Killed", "Killed"]
,["DW: Instructor Razuvious", "Killed", "Killed"]
,["DW: Gothik the Harvester", "Killed", "Killed"]
,["DW: The Four Horsemen", "Killed", "Killed"]
,["FL: Sapphiron", "Killed", "Killed"]
,["KC: Kel'Thuzad", "Killed", "Killed"]
]);

// 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", "Killed", "Killed"]
,["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", "Killed", "Killed"]
,["Sartharion + 2 Drakes", Killed"", "Killed"]
,["Sartharion + 3 Drakes", "Killed", ""]
]);

// 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", "Killed", "Killed"]
]);

// ULDUAR
progress.push ([
 ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ulduar.gif"]
,["Ulduar", "(10 man)", "(25 man)"]
,["Flame Leviathan", "Killed", "Killed"]
,["Ignis the Furnace Master", "Killed", "Killed"]
,["Razorscale", "Killed", "Killed"]
,["XT-002 Deconstructor",
,["The Iron Council", "Killed", "Killed"]
,["Kologarn", "Killed", "Killed"]
,["Auriya", "Killed", "Killed"]
,["Mimiron", "Killed", "Killed"]
,["Watcher Freya", "Killed", "Killed"]
,["Watcher Thorim", "Killed", "Killed"]
,["Watcher Hodir", "Killed", "Killed"]
,["General Vezax", "Killed", "Killed"]
,["Yogg-Saron","Killed", "24%"]
,["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", "Killed", "Killed"]
,["Lord Jaraxxus", "Killed", "Killed"]
,["Faction Champions", "Killed", "Killed"]
,["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", "", ""]
]);

// 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", "", ""]
]);
// 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>

TopBottom

Nooq (Member) 9/17/2009 9:05 AM EST : RE: WoW Guild Bar v1.21 (Ulduar)

Nooq
Posts: 438

0
Like

0
Dislike

Hi Mottie,

I have been reading a lot on your site and am really impressed with some of the stuff you have managed to find / put on your site!

I am currently trying to add this feature, the wow guild bar witht he recruitment icons / tootips and progression icons / tooltips and now i require some assistance I have the WotLK logo on the page i want, and have the recruitment / progression icons on the page also. The only problem i have is when i hover the mouse over the icons it does not display the detailed info like what bosses we have downed etc. Unfortunately i cant read the code quite as well as you can.

We have created a new page, added a "free form Text/HTML Editor" and inserted all the code into that.

I know how to change the code to modify what bosses and classes we want to recruit.

Anychance you can help? I am really confused on how to continue...
Thanks,
Nooq

Also Known as:
Kyaine / Nooq / Cooper / Vaszer
TopBottom

Mottie (SuperAdmin) 9/17/2009 6:14 PM EST : RE: WoW Guild Bar v1.21 (Ulduar)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Nooq!

Try adding this tooltip script to your site... the best place is probably in the footer HTML (the CSS could go into the custom CSS if you have that enabled)
<style type="text/css">
.tooltip, .preview, .screenshot { cursor:pointer; }
#tooltip, #tooltip2 { width: 250px; }
#tooltip, #tooltip2, #preview {
 color:#dddddd;
 background:#222222;
 border: 1px solid #333333;
 padding:5px;
 display:none;
 opacity: 0.9;
 filter: alpha(opacity=90);
 text-align:left;
}
</style>
<script src="http://www.axiomfiles.com/Files/258012/tooltip.js" type="text/javascript"></script>
If that doesn't work, then please share a link to your site and I'll take a look.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Nooq (Member) 9/17/2009 6:18 PM EST : RE: WoW Guild Bar v1.21 (Ulduar)

Nooq
Posts: 438

0
Like

0
Dislike

Hi Mottie!

Found your tooltip post as well and its up and running Put it in the footer area, Thankyou very much again!

Nooq
Also Known as:
Kyaine / Nooq / Cooper / Vaszer
TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%