<script type="text/javascript"> $(document).ready(function() { var events = new Array(); var imageAlign = "right"; var imageHeight = "22"; var imageWidth = "22" events.push(["Karazhan|Kara","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Kar.gif"]); events.push(["Zul'Aman|ZA","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ZA.gif"]); events.push(["Gruul","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GL.gif"]); events.push(["Mag|Magtheridon","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Mag.gif"]); events.push(["Tempest|Eye|TK","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/TK.gif"]); events.push(["Serpentshrine|SSC","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SSC.gif"]); events.push(["Hyjal|MH","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/MH.gif"]); events.push(["Kazzak|DLK","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DLK.gif"]); events.push(["Doomwalker|DW","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DW.gif"]); events.push(["Black|BT","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/BT.gif"]); events.push(["Sunwell|SW|SP","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SP.gif"]); events.push(["Naxx","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Nax2.gif"]); events.push(["VoA|Archavon","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/VoA.gif"]); events.push(["CoA|OS|Obsidian|Sartharion","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/OS.gif"]); events.push(["EoE|Malygos","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/EoE.gif"]); events.push(["Ulduar","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ulduar.gif"]); events.push(["ToC|of Crusader|he Crusader","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Crusader.gif"]); events.push(["TGC|Grand Crusader","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GrandCrusader.gif"]); events.push(["birthday|Birthday","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/birthday.gif"]); events.push(["quest|Quest","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/quest.gif"]); events.push(["Unk|unk","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/unknown.gif"]); $("#tblMonthlyCalendarTable").find(".NormGridRow,.AltGridRow").each(function() { for (var j=0; j < events.length; j++ ) { if ($(this).html().match(events[j][0])) { var temp = "<img align='" + imageAlign + "' src='" + events[j][1]; temp += "'width='" + imageWidth + "' height='" + imageHeight + "'>"; $(this).html(temp + $(this).html()); } } }); }); </script>
<style type="text/css"> .sideCalendarTooltip {color:#ffcc00;} .sideCalendarMonthTitleContainer { height:10px; font-size:7pt; } .sideCalendarMonthTitle { background: #2d2d2d; color:#daca92; font-weight:bold; padding: 5px; border:0px; } .sideCalendarMonthTitle a:link { text-decoration:none; color:#daca92;} .iconWrap { height:16px; width:16px; } </style> <script type="text/javascript"> $(document).ready(function() { var events = new Array(); events.push(["Karazhan|Kara","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Kar.gif"]); events.push(["Zul'Aman|ZA","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ZA.gif"]); events.push(["Gruul","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GL.gif"]); events.push(["Mag|Magtheridon","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Mag.gif"]); events.push(["Tempest|Eye|TK","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/TK.gif"]); events.push(["Serpentshrine|SSC","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SSC.gif"]); events.push(["Hyjal|MH","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/MH.gif"]); events.push(["Kazzak|DLK","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DLK.gif"]); events.push(["Doomwalker|DW","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DW.gif"]); events.push(["Black|BT","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/BT.gif"]); events.push(["Sunwell|SW|SP","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SP.gif"]); events.push(["Naxx","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Nax2.gif"]); events.push(["VoA|Archavon","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/VoA.gif"]); events.push(["CoA|OS|Obsidian|Sartharion","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/OS.gif"]); events.push(["EoE|Malygos","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/EoE.gif"]); events.push(["Ulduar","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ulduar.gif"]); events.push(["ToC|of Crusader|he Crusader","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Crusader.gif"]); events.push(["TGC|Grand Crusader","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GrandCrusader.gif"]); events.push(["birthday|Birthday","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/birthday.gif"]); events.push(["Fun event|fun event","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["quest|Quest","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/quest.gif"]); events.push(["Unk|unk","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/unknown.gif"]); /* ***************************** Don't change anything below this line! ***************************** */ // Main Calendar $(".CenterContentZone").find("#tblMonthlyCalendarTable").find(".NormGridRow,.AltGridRow").each(function() { addIcons($(this),"right",22,22); }); // Events Box $("a").each(function() { if ($(this).attr("title").match("details of this event on the Calendar")) { addIcons($(this).parent(),"right",22,22); } }); // Side Calendar (Mini) $(".LeftContentZone,.RightContentZone").find("#monthlyCalendarCalendarColumn").find("table:eq(0)").each(function() { try { $(this).find(".NormGridRow,.AltGridRow").each(function() { var evtTitle = "<div class='sideCalendarTooltip'>" +$(this).find("a").text().replace("'","'") + "</div>"; var divTitle = evtTitle + $(this).attr("title").replace("(","<br>("); $(this).attr("title","").mouseover(function(){ddrivetip(divTitle,'','240')}).mouseout(function(){hideddrivetip();}); $(this).html(evtTitle); // replace date contents with just the event, for addIcons function addIcons($(this),"right",16,16); $(this).removeClass("NormGridRow").removeClass("AltGridRow").unbind().addClass("iconWrap").children("div").remove(); $(this).css("border-width","0px").css("padding","0px 5px").css("margin","0px"); }); $(this).attr("title",""); $(this).find(".ContentBoxTitle").css("height","10px").css("font-size","7pt"); $(this).find("tr:gt(2)").find("td").css("min-width","22px").css("height","30px").css("font-size","8pt").css("align","center"); $(this).find("a:contains('Prev Month')").html("<"); $(this).find("a:contains('Next Month')").html(">"); $(this).find("table.ContentBoxTitle").each(function() { $(this).parent().addClass("sideCalendarMonthTitleContainer").css("color","").css("background-color",""); $(this).removeClass("ContentBoxTitle").css("color","").css("font-weight",""); $(this).find("td").addClass("sideCalendarMonthTitle").removeClass("ContentBoxTitle").css("color","").css("background-color",""); $(this).find("a").css("color",""); }) } catch(e) {} }); function addIcons (box,imgAlign,imgWidth,imgHeight) { for (var j=0; j < events.length; j++ ) { if (box.html().match(events[j][0])) { var temp = "<img align='" + imgAlign + "' src='" + events[j][1]; temp += "'width='" + imgWidth + "' height='" + imgHeight + "'>"; box.html(temp + box.html()); } } return true; } }); </script>
<style type="text/CSS"> .sideCalendar { border: #333333 1px solid; } .sideCalendarMySignups { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell.gif); height: 15px; font-size: 8pt; cursor: pointer; } .sideCalendarMonthTitleContainer { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell.gif); height: 10px; font-size: 7pt; } .sideCalendarMonthTitle, .sideCalendarMonthTitle a { font-weight: bold; padding: 5px; } .sideCalendarDaysofWeek { background: #000000; border: #333333 1px solid; border-collapse: collapse; } .sideCalendarDaysofMonth { background: #111111 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell.gif); min-width: 22px; font-size: 8pt; border: #333333 1px solid; padding: 2px;} .sideCalendarDaysOutsideThisMonth { background: #070707 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell-out.gif); color: #444444; } .sideCalendarEvent { background: #000022 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell-evt.gif); font-weight: bold; cursor: pointer; } .sideCalendarToday { background: #002200 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell-today.gif); color: #ffffff; font-weight:bold; } .sideCalendarTooltipTitle { color: #00f000; } #dhtmltooltip { position: absolute; width: 150px; border: #777777 1px solid; padding: 3px; background: #000000; color: #ffffff; visibility: hidden; z-index: 100; } .mainCalendar { border: #333333 1px solid; } .mainCalendarMySignups { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell.gif); height: 20px; font-size: 8pt; cursor:pointer; } .mainCalendarMonthTitleContainer { background:url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell.gif); height: 20px; font-size: 8pt; } .mainCalendarMonthTitle, .mainCalendarMonthTitle a { font-weight: bold; padding: 5px; } .mainCalendarDaysofWeek { background: #000000; border: #333333 1px solid; border-collapse: collapse; } .mainCalendarDaysofMonth { background: #111111 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell-big.gif) top center repeat-x; min-width:50px; font-size:10pt; border:#333333 1px solid; padding:2px; } .mainCalendarDaysOutsideThisMonth { background: #070707 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell-out-big.gif) top center repeat-x; color: #444444; } .mainCalendarEvent { background: #080c21 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell-evt-big.gif) top center repeat-x; } .mainCalendarToday { background: #002200 url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/cell-today-big.gif) top center repeat-x; color: #ffffff; font-weight:bold; } .mainCalendar .MoGridRow { background: #004566; min-height: 40px; } .mainCalendar .NormGridRow { background: transparent; min-height: 40px } .mainCalendar .AltGridRow { background: #000011; min-height: 40px } </style> <script src="http://www.axiomfiles.com/Files/243007/calendarstyle1-2.js" type="text/javascript"></script> <div style="display:none;" id="tempvar"/> <script type="text/javascript"> var events = new Array(); events.push(["Karazhan|Kara","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Kar.gif"]); events.push(["Zul'Aman|ZA","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ZA.gif"]); events.push(["Gruul","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GL.gif"]); events.push(["Mag|Magtheridon","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Mag.gif"]); events.push(["Tempest|Eye|TK","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/TK.gif"]); events.push(["Serpentshrine|SSC","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SSC.gif"]); events.push(["Hyjal|MH","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/MH.gif"]); events.push(["Kazzak|DLK","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DLK.gif"]); events.push(["Doomwalker|DW","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/DW.gif"]); events.push(["Black|BT","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/BT.gif"]); events.push(["Sunwell|SW|SP","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/SP.gif"]); events.push(["Naxx","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Nax2.gif"]); events.push(["VoA|Archavon","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/VoA.gif"]); events.push(["CoA|OS|Obsidian|Sartharion","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/OS.gif"]); events.push(["EoE|Malygos","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/EoE.gif"]); events.push(["Ulduar","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/ulduar.gif"]); events.push(["ToC|of Crusader|he Crusader","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Crusader.gif"]); events.push(["TGC|Grand Crusader","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/GrandCrusader.gif"]); events.push(["birthday|Birthday","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/birthday.gif"]); events.push(["Fun event|fun event","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["quest|Quest","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/quest.gif"]); events.push(["Unk|unk","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/unknown.gif"]); var viewMySignUps = "My Sign-ups"; $(document).ready(function() { // Main Calendar $(".CenterContentZone").find("#tblMonthlyCalendarTable").find(".NormGridRow,.AltGridRow").each(function() { addIcons($(this),"right","32","32"); }); // Events Box $("a").each(function() { if ($(this).attr("title").match("details of this event on the Calendar")) { addIcons($(this).parent(),"right","32","32"); } }); // Calendar Styling styleCalendar ("side",27); styleCalendar ("main",100); }); </script>
.mainCalendarWeek, .mainCalendarNextWeek, .mainCalendarPrevMonth, .mainCalendarNextMonth {display:none;}
events.push(["Event|event","ICON URL"]);
var viewMySignUps = "My Sign-ups";
<style type="text/css">.mainCalendarWeek, .mainCalendarNextWeek, .mainCalendarPrevMonth, .mainCalendarNextMonth {display:none;}</style>
events.push(["Doctors Without","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["Grand Opening","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["Interview","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["Meeting","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["Photoshoot","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["Pod Race","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["RP|Role Play","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["Rehearsal","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["Tell me a Story","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]); events.push(["Works Social","http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/fun.gif"]);
<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>