<!-- This code goes in the Free Form Text/HTML widget -->
<
link
href
=
"http://www.axiomfiles.com/Files/19665/progression-benny.css"
rel
"stylesheet"
/>
script
src
"http://www.axiomfiles.com/Files/19665/progression-scripts-benny.js"
type
"text/javascript"
></
>
"http://www.axiomfiles.com/Files/19665/progression-benny.js"
style
"text/css"
/* Progression box */
#benny { color: #ffffff; }
/* Tooltip text */
.progress td { color: #dddddd; }
/* Instance name text */
td.instance { color: #cccccc; }
/* bosses killed "(5/6)" in the progression box */
td.bossCount { color: #cccccc; }
/* Tooltip styles */
td.tooltipHeader { color: #0080ff; }
td.killedBoss { color: #888888; }
td.toKillBoss { color: #dddddd; }
td.killedText { color: #ff0000; }
td.attemptedBoss { color: #00ff00; }
</
div
id
"benny"
$(document).ready(function(){
var progressionOptions = {
// Add progression box options here
tooltipWidth : 300,
tooltipBossWidth : 250,
tooltipKilledWidth : 80,
iconHeight : 30,
iconWidth : 30,
raidingKeyWord : "No|closed",
bossKilledKeyWord : "Killed",
bossAttemptedKeyWord : "Attempted|%",
ignore1stColumnCount : true,
ignore2ndColumnCount : false,
hide1stColumn : true,
hide2ndColumn : false,
showAllRows : true
};
$('#benny').progression( wowCat, progressionOptions);
});
/********************************
* Progression Box
********************************/
#benny { font-size:90%; color:#ffffff; text-align:center; padding:4px; }
#benny tr, #progSelect { cursor:pointer; }
#benny td, .progression-tooltip td { font-family: Verdana,Tahoma,Segoe,sans-serif; font-size: 12px; }
.instance { color:#cccccc; font-size:.8em; }
/* Instance image and image cell */
.instanceImgCell { width:30px; }
.instanceImgCell img { vertical-align: middle; border:0px; width:30px; height:30px; }
.bossCount { color:#cccccc; vertical-align:middle; }
.tooltipHeader { 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; }
.hide, #newbanner { display: none; }
.show { display: inline; }
/*
* GuildBar & Progression Box Scripts
*
* Copyright (c) 2010 Rob Garrison (aka Mottie)
* Dual licensed under the MIT and GPL licenses.
*/
// GuildBar recruitment
// http://guildportal.com/Guild.aspx?GuildID=258012&TabID=2168224&ForumID=1233963&TopicID=7217309&Page=3#42772665
// **********************
$.fn.guildBarRecruit=function(b,h){var a=$.extend({},{recruitTitle:"Recruitment",recruitKeyWord:"Closed",recruitIconsPerRow:10,recruitTooltipWidth:150,linkToRecruitmentPost:"javascript:void(0)"},h),d=$.meta?$.extend({},a,this.data()):a,c='<
><
a
"'+d.linkToRecruitmentPost+'"
>'+d.recruitTitle+"</
>";for(a=0;a<
b.length
;a++){c+='<a
class
"tooltip"
"'+d.recruitTooltipWidth+'"
title="<span
recruitToolTip
>'+b[a][1].replace(/\"/g,""")+"</
span
br
>"+ b[a][2].replace(/\"/g,""")+'"><
img
"'+b[a][0].replace(/\"
/g,""")+'"';if(b[a][2].match(d.recruitKeyWord))c+="
dim
";c+="></
>";if((a+1)%d.recruitIconsPerRow===0)c+="<
>"}c+="</
>";$(this).html(c)};
// GuildBar progression
$.fn.guildBarProgress=function(b,h){var a=$.extend({},{raidingTitle:"Progression",raidingKeyWord:"No|closed|unknown",bossKilledKeyWord:"Killed",bossAttemptedKeyWord:"Attempted|%",raidingIconsPerRow:10,tooltipBossWidth:275,tooltipKilledWidth:80,linkToRaidingSite:"http://wow.guildprogress.com/"},h);a=$.meta?$.extend({},a,this.data()):a;var d,c,e='<
"'+a.linkToRaidingSite+'"
>'+a.raidingTitle+"</
>";for(d=0;d<
;d++){e+='<a
title="<table><
tr
td
raidingToolTip
width='+ a.tooltipBossWidth+">"+b[d][1][0].replace(/\"/g,""")+"</
align
center
valign
top
nowrap
width
"+a.tooltipKilledWidth+"
>"+b[d][1][1].replace(/\"/g,""")+"</
>"+b[d][1][2].replace(/\"/g,""")+"</
>";for(c=2;c<
b
[d].length;c++){e+="<tr><
";e+=b[d][c][1].match(a.bossKilledKeyWord)&&b[d][c][2].match(a.bossKilledKeyWord)?"
killedBoss
>":">";e+=b[d][c][0].replace(/\"/g,""")+"</
";e+=b[d][c][1].match(a.bossAttemptedKeyWord)? "
attemptedBoss
":"";e+=b[d][c][1].match(a.bossKilledKeyWord)?"
killedText
":"";e+=">"+b[d][c][1]+"</
";e+=b[d][c][2].match(a.bossAttemptedKeyWord)?"
":"";e+=b[d][c][2].match(a.bossKilledKeyWord)?"
":"";e+=">"+b[d][c][2]+"</
>"}e+='</
table
>" rel="'+(a.tooltipBossWidth+a.tooltipKilledWidth)+'"><
"'+b[d][0]+'"
';if(b[d][1][1].match(a.raidingKeyWord)||b[d][1][1]===""&&b[d][2][1]==="")e+="
";e+="></
>";if((d+1)%a.raidingIconsPerRow=== 0)e+="<
>"}e+="</
>";$(this).html(e)};
// WOW Progression Box with one or two columns
// http://guildportal.com/Guild.aspx?GuildID=258012&TabID=2168224&ForumID=1233963&TopicID=7047904&Page=1#36898710
$.fn.progression=function(b,h){var a=$.extend({},{tooltipWidth:300,tooltipBossWidth:250,tooltipKilledWidth:80,iconHeight:30,iconWidth:30,raidingKeyWord:"No|closed",bossKilledKeyWord:"Killed",bossAttemptedKeyWord:"Attempted|%",ignore1stColumnCount:false,ignore2ndColumnCount:false,hide1stColumn:false,hide2ndColumn:false,showAllRows:true},h);a=$.meta?$.extend({},a,this.data()):a;var d,c,e,i,k,j,l,g,f="<
benny
border
0
'100%'
tbody
>";for(c=0;c<
;c++){
g
typeof
b[c][1][2]=== "undefined"?true:false;if(a.hide1stColumn&&!g){
a.ignore1stColumnCount
true
;
a.ignore2ndColumnCount
false
}if(a.hide2ndColumn){
}
l
k
=0;f+='<tr
"tooltip';if(!a.showAllRows&&(b[c][1][1].match(a.raidingKeyWord)||b[c][1][1].replace(/\(10 man\)/,"
")===""&&b[c][2][1]===""))f+=" hide";f+='" title="<table><
tooltipHeader
width='+a.tooltipBossWidth+"px>"+b[c][1][0].replace(/\"/g,""");f+=a.hide1stColumn&&!g?"":"</
"+ a.tooltipKilledWidth+"
px>"+b[c][1][1].replace(/\"/g,""");f+=g||a.hide2ndColumn?"":"</
px>"+b[c][1][2].replace(/\"/g,""");f+="</
>";for(e=2;e<
[c].length;e++){f+="<tr><
";(
i
[c][e][1].match(a.bossKilledKeyWord)?true:false)&&k++;if(!g)(
j
[c][e][2].match(a.bossKilledKeyWord)?true:false)&&l++;if(g||a.hide2ndColumn)f+=i?"
":"";else{
d
&&j?"
":"";if(a.hide1stColumn&&j||a.hide2ndColumn&& i)
" class=killedBoss"
;if(a.ignore1stColumnCount&&j||a.ignore2ndColumnCount&&i)
;f+=d}f+=">"+b[c][e][0].replace(/\"/g,""")+"</
>";if(g||!a.hide1stColumn){f+="<
";f+=i?"
killedText":"";f+=b[c][e][1].match(a.bossAttemptedKeyWord)?" attemptedBoss":" toKillBoss";f+=">"+b[c][e][1]+"</
>"}if(!g&&!a.hide2ndColumn){f+="<
";f+=j?"
killedText":"";f+=b[c][e][2].match(a.bossAttemptedKeyWord)?" attemptedBoss":" toKillBoss";f+=">"+b[c][e][2]+"</
>"}f+= "</
>"}f+='</
>" rel='+(a.tooltipBossWidth+a.tooltipKilledWidth)+">";f+='<
"'+b[c][0]+'"
height
"'+a.iconHeight+'"
"'+a.iconWidth;f+='"
"instance"
>'+b[c][1][0]+"</
bossCount
>(";d=g||!a.ignore1stColumnCount||a.ignore2ndColumnCount?k:l;if(!g&&k===b[c].length-2&&!a.ignore2ndColumnCount)d=l;f+=d+"/"+(b[c].length-2)+")</
>"}f+="<
>";$(this).html(f)};
$.fn.pickExp=function(b,h){$(this).progression(b,h)};
<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>