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 | 29 | 30 | 31 | |
|
|
";
$(document).ready(function(){
$("#calDisplay").html("");
$("#calDisplay").append(caloutput);
$(".cal_hover").mouseenter(function()
{
var off = $("#Calendar1").offset();
var width = $("#Calendar1").css("width");
width= parseInt(width);
width = off.left + 200;
$(".mup_eventDispBkg").css("left", width )
$(".mup_eventDispBkg").css("top", off.top )
ts = setTimeout(function(){ $(".mup_eventDispBkg").show();},700);
},function() {
var b = setTimeout(function(){ $(".mup_eventDispBkg").hide();},100);
});
$(".cal_hover").mouseleave(function()
{
$(".mup_eventDispBkg").hide();
clearTimeout(ts);
//clearTimeout(b);
});
});
function upDateCal(month,year)
{
var loc = "/site/services/smallcalendar.aspx?monthupwithevent&sDate="+month+"/1/"+year;
$("#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;
$("#eventplaceholder").html(s.replace(sbr,"
"));
}},700);
}
function stopTimer()
{
clearTimeout(t);
}