«

»

Oct
05

Events Archives – Ernest N. Morial Convention Center

Events Archives - Ernest N. Morial Convention Center ';$('input[name="daterange"]')[0].value = moment().format('MM/DD/YYYY') + " - " + moment().add(1, 'years').format('MM/DD/YYYY');$(function() {$('input[name="daterange"]').daterangepicker({opens: 'left'}, function(start, end, label) {console.log("A new date selection was made: " + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD'));});});//Begin Calendar Settings & Setupvar $usiCalendar = $("#usi-calendar");var $usiListCalendar = $("#usi-list-calendar");var allEvents = "https://calendar.mccno.com/api/GetEventInfo?orgCode=10"; var oneYearEvents = "https://www.mccno.com/wp-content/uploads/events_json/full_calendar_json.json";var sampleImage = "https://www.mccno.com/wp-content/plugins/usi-mccno-calendar/MCCNOlogo.jpg";/* Function to allow date search */$.fn.dataTable.ext.search.push(function(settings, data, dataIndex) {var min = $('input[name="daterange"]')[0].value.substring(0,10);var max = $('input[name="daterange"]')[0].value.substring(13,24);var startColumn = data[2] || 2; // Our date column in the tablevar endColumn = data[3] || 3;if ((min == "" || max == "") ||(moment(startColumn).isSameOrAfter(min) && moment(startColumn).isSameOrBefore(max)) ||(moment(endColumn).isSameOrAfter(min) && moment(endColumn).isSameOrBefore(max))) {return true;}return false;});var currentView = "usi-list-calendar";/** Switch views **/$("#view-switch .switch").click(function(){var $this = $(this);var reqView = $this.attr('data-switch');if(reqView != currentView){$("#usi-calendar,#usi-list-calendar").slideUp();$("#"+reqView).slideDown();/** Switch active classes on links **/$("a.switch").removeClass("active");$("a[data-switch='"+reqView+"']").addClass("active");if(reqView == "usi-list-calendar") {$("#usi-list-calendar").show();$("#usi-calendar").hide();$(".dater").prop('disabled', false);$(".dater").parents().removeClass('disabled');$(".dater").prop('readonly', false);$(".dater").parents().removeClass('readonly');$("#date-range-value").removeAttr("disabled");$(".event-range-wrap").show();$(".event-search-wrap").css('width', '');$(".event-search-wrap").css('margin-right', '');}else {$("#usi-list-calendar").hide();$("#usi-calendar").show();$(".dater").prop('disabled', true);$(".dater").parents().addClass('disabled');$(".dater").prop('readonly', true);$(".dater").parents().addClass('readonly');$("#date-range-value").attr("disabled", "disabled");$(".event-range-wrap").hide();$(".event-search-wrap").css('width', '100%');$(".event-search-wrap").css('margin-right', '30px');}currentView = reqView;}return false;});function defineDefaultView(buildCalendar) {$usiCalendar.hide();$usiListCalendar.show();$(".dater").prop('disabled', false);$(".dater").parents().removeClass('disabled');$(".dater").prop('readonly', false);$(".dater").parents().removeClass('readonly');$("#date-range-value").removeAttr("disabled");currentView = 'usi-list-calendar';}$(window).load(function(){defineDefaultView(true);if($(window).width() ' +'' +'' +''+event.title+'' +'

'+popDate+'

'+popLocation+'

' +'' +'' +'

' + moment(data[i]['startDT']).format("dddd") + '

' + moment(data[i]['startDT']).format("MMMM") + '

' + moment(data[i]['startDT']).format("D") + '

' +'' +'' +'

' +'' +'' +'

' + moment(data[i]['startDT']).format("dddd") + '

' + moment(data[i]['startDT']).format("MMMM") + '

' + moment(data[i]['startDT']).format("D") + '

' + moment(data[i]['endDT']).format("dddd") + '

' + moment(data[i]['endDT']).format("MMMM") + '

' + moment(data[i]['endDT']).format("D") + '

' +'' +'' +'

' + data[i]['startDT'] + '

' + data[i]['endDT'] + '

' + data[i]['title'] + '

2019 Ernest N. Morial Convention Center, New Orleans, LA

Read more:
Events Archives - Ernest N. Morial Convention Center