
‘;
} else if(data) {
var total = data.length;
var html = ”;
function get_data() {
html += data;
}
get_data();
}
$(‘#cal_item’).html(html);
}
});
}
if(window.location.hash) {
hash = window.location.hash.replace(‘#’, ”);
var hash_array = hash.split(‘/’);
if(in_array(‘category’, hash_array)) {
var category_index = $.inArray(‘category’, hash_array);
var category = hash_array[category_index+1];
$(‘ul.select li.option’).removeClass(‘selected’);
$(“ul.select li.option[title='”+category+”‘]”).addClass(‘selected’);
var title = $(“ul.select li.option[title='”+category+”‘]”).children(‘a’).html();
$(“ul.select li.option[title='”+category+”‘]”).parent(‘ul.select’).prev(‘.select_toggle’).html(‘‘+title+’‘);
if(in_array(‘month’, hash_array) == false) {
var prev = $(‘.calendar_nav .previous’).attr(‘href’).replace(‘#’,”).split(‘/’);
var year = parseInt(prev[0]);
var month = parseInt(prev[1]) + 1;
if(month == 13){
var month = 1;
var year = parseInt(prev[0] + 1);
}
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: window.location.pathname,
data: {year: year, month: month, tag: category, keywords: keywords, calendar_id: 141, search_type: ‘calendar_month’, method: ‘ajax’},
beforeSend: function () {
$(“.calendar”).addClass(‘loading’);
},
success: function(data){
$(“.calendar”).removeClass(‘loading’);
$(‘#grid_calendar’).empty();
if(data.length > 0) {
var total = data.length;
var html = ”;
function get_data() {
html += data;
}
get_data();
}
$(‘#grid_calendar’).html(html);
}
});
}
}
if(in_array(‘grid’, hash_array) || in_array(‘list’, hash_array)) {
if(in_array(‘grid’, hash_array)) {
show_hide_grid(‘grid’);
$(“label[for=’grid’]”).click();
$(‘html, body’).animate({
scrollTop: $(“#cal_toggle”).offset().top
}, 0);
} else {
$(“label[for=’list’]”).click();
show_hide_grid(‘list’);
}
}
if(in_array(‘month’, hash_array)) {
var month_index = $.inArray(‘month’, hash_array);
var year = hash_array[month_index+1];
var month = hash_array[month_index+2];
var keywords = $(‘.argument’).val();
if(in_array(‘category’, hash_array)) {
var category_index = $.inArray(‘category’, hash_array);
var category = hash_array[category_index+1];
if(keywords != ” && keywords != undefined){
change_month(year + ‘/’ + month + ‘/’ + category + ‘/’ + keywords);
}else{
change_month(year + ‘/’ + month + ‘/’ + category);
}
}else{
if(keywords != ” && keywords != undefined){
change_month(year + ‘/’ + month + ‘/’ + ‘/’ + keywords);
}else{
change_month(year + ‘/’ + month);
}
}
}
if(in_array(‘event’, hash_array)) {
var event_index = $.inArray(‘event’, hash_array);
var year = hash_array[event_index+1];
var month = hash_array[event_index+2];
var day = hash_array[event_index+3];
var item_id = hash_array[event_index+4];
$(‘#cal_item’).empty();
open_cal_item();
open_event(item_id, year, month, day);
}
}
$(document).on(‘click’,’.ui-widget-overlay’,function(e){
close_cal_item();
});
});
| Previous | August 2022 | Next | ||||
|---|---|---|---|---|---|---|
| Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday |
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 | |||
Download iCal
Add to Google Calendar
Subscribe to Calendar
There are no upcoming events.
