caloutput =" |
|
| 1 | 2 | 3 | 4 | 5 | 6 | | 7 | 8 | 9 | 10 | 11 | 12 | 13 | | 14 | 15 | 16 | 17 | 18 | 19 | 20 | | 21 | 22 | 23 | 24 | 25 | 26 | 27 | | 28 |
|
|
|
|
|
| |
|
|
";
var imajq = jQuery.noConflict();
imajq(document).ready(function(){
imajq("#calDisplay").html("");
imajq("#calDisplay").append(caloutput);
imajq(".cal_hover").hover(function()
{
var off = imajq("#Calendar1").offset();
var width = imajq("#Calendar1").css("width");
width= parseInt(width);
width = off.left - 190;
imajq(".mup_eventDispBkg").css("left", width )
imajq(".mup_eventDispBkg").css("top", off.top )
ts = setTimeout(function(){ imajq(".mup_eventDispBkg").show();},700);
},function() {
b = setTimeout(function(){ imajq(".mup_eventDispBkg").hide();},700);
});
});
function upDateCal(month,year)
{
var loc = "http://new.nycballet.com/nycb/ep/calendarexternal.aspx?monthupwithevent&sDate="+month+"/1/"+year;
imajq("#calDisplay").html("
 |
");
}
function showDaysEventsIMA(month, day, year) {
t = setTimeout(function(){
if(document.getElementById('day_' + month + '_'+ day +'_'+ year)) {
//alert(document.getElementById('day_' + month + '_'+ day +'_'+ year).innerHTML);
document.getElementById('eventplaceholder').className = '';
sbr =/\^/g;
var s = document.getElementById('day_' + month + '_'+ day +'_'+ year).innerHTML;
imajq("#eventplaceholder").html(s.replace(sbr,"
"));
}},700);
}
function stopTimer()
{
clearTimeout(t);
}