Current News:

/******************************** COLORS ********************************/ #numo_calendar_large p { color: #cccccc; } #numo_calendar_large table.main { border-color: #cccccc; background-color: #ffffff; } /** LARGE CALENDAR VIEW **/ #numo_calendar_large table.main th { background-color: #cccccc; border-color: #cccccc; color: #444444; } #numo_calendar_large table.main td.current-date { background-color: #FFFFCC; } #numo_calendar_large table.main td.selected-day { background-color: #D7FFD7; } #numo_calendar_large table.main td { border-color: #cccccc; } #numo_calendar_large table.main div.date { background-color: #dddddd; color: #666666;} #numo_calendar_large table.main div.current-date { background-color: #cccccc; color: #444444; } #numo_calendar_large table.main div.non-month-date { background-color: #EEEEEE; color: #AAAAAA; } #numo_calendar_large table.main-day td { border-color: #cccccc; } /** DAY VIEW **/ #numo_calendar_large th.time-column { background-color: #cccccc; } #numo_calendar_large td.time-column { background-color: #eeeeee; } #numo_calendar_large .dotted { border-bottom-color: #C3D9FF !important; } #numo_calendar_large th.current-date { background-color: #cccccc; color: #444444;} #numo_calendar_large table.main-day { border-color: #cccccc; } #numo_calendar_large table.main-day td.current-date { background-color: #FFFFCC; } .time-block-left { border-color: #cccccc; } .current-date { background-color: #FFFFCC; } .time-block-right { background-color: #ffffff; border-color: #cccccc; } .time-block-all { background-color: #ffffff; border-color: #cccccc; } #numo_calendar_large div.main-day-block { border-color: #cccccc; } /** SMALL CALENDAR VIEW **/ #numo_calendar_small p { color: #cccccc; } #numo_calendar_small table.main th { background-color: #cccccc; border-color: #cccccc; color: #444444; } #numo_calendar_small table.main td { background-color: #ffffff; border-color: #cccccc; } #numo_calendar_small table.main td.current-date { background-color: #FFFFCC; } #numo_calendar_small table.main div.date { color: #666666; } #numo_calendar_small table.main div.current-date { color: #444444; } #numo_calendar_small table.main td.selected-day { background-color: #cccccc; } #numo_calendar_small table.main div.non-month-date { background-color: #EEEEEE; color: #AAAAAA; } /** AGENDA **/ #numo_calendar_agenda p { color: #cccccc; } /** EVENTS **/ #numo_calendar_large div.basic-event { #cccccc; } #event-box, #edit-event-box { border-color: #cccccc; } #close-box, #edit-close-box { border-color: #cccccc; color: #cccccc; } span.event-type-name { color: #5595FF; } #edit-event-box-description, #event-box-description { border-color: #cccccc; } #event-box-when, #edit-event-box-when { border-color: #cccccc; } #event-box-when-detail { border-color: #cccccc; } #event-box label, #edit-event-box label { color: #5595FF;} #event-box input, #edit-event-box input { color: #444444; } #event-box select, #edit-event-box select { color: #444444; } #event-box label.time-start, #edit-event-box label.time-start { color: #5595FF; } #event-box label.time-end, #edit-event-box label.time-end { color: #5595FF; } div.delete-button { background-image: url(//www.olc.edu/numo/modules/calendar/styles/default/delete-button-small.png); } /** color specifics **/ .event-default-text {} .event-default-background {} .event-blue-background { background-color: #C3D9FF !important; border-color: #5595FF !important; } .event-blue-text { color: #2A61BD !important; } .event-green-background { background-color: #B8F5D7 !important; border-color: #B8F5D7 !important; } .event-green-text { color: #009900 !important; } .event-red-background { background-color: #FFDDDD !important; border-color: #990000 !important; } .event-red-text { color: #990000 !important; } .event-orange-background { background-color: #FFEDDD !important; border-color: #FF6600 !important; } .event-orange-text { color: #FF6600 !important; } .event-purple-background { background-color: #EDE1FF !important; border-color: ##6600FF !important; } .event-purple-text { color: #6600FF !important; } .event-grey-background { background-color: #cccccc !important; border-color: #444444 !important; } .event-grey-text { color: #444444 !important; } /** TIP BOX **/ div.tip { border-color: #cccccc; color: #333 !important; } div.tip-title { background-color: #cccccc; color: #444444; border-color: #cccccc; } /** NAVIGATION BUTTONS **/ #back-button { background-image: url(//www.olc.edu/numo/modules/calendar/styles/default/back-arrow.png); } #next-button { background-image: url(//www.olc.edu/numo/modules/calendar/styles/default/next-arrow.png); } #period-selector a { color: #999999; } #period-selector a.selected { color: #444444; } #period-selector div { background-color: #eeeeee; } #period-selector div.selected { background-color: #cccccc; } /** LOGIN BOX **/ #login-status span { color: #444444; } #login-box { border-color: #E8EEF7 !important;} /** FORM BUTTONS **/ button, input.button { border-color: #bfbfbf; border-right-color: #908d8d; border-bottom-color: #908d8d; background-color: #e1e1e1; background-image: url(/numo/modules/calendar/styles/default/button-bg.png); color: #ffffff;} button:active, input.button:active { border-color: #908d8d; border-right-color: #afafaf; border-bottom-color: #afafaf; } button.primary, input.button.primary { border-color: #C3D9FF; border-right-color: #908d8d; border-bottom-color: #908d8d; background-color: #ffffff; background-image: url(/numo/modules/calendar/styles/default/button-primary.png); color: #ffffff !important; } button.primary:active, input.button.primary:active { border-color: #000033; border-right-color: #000033; border-bottom-color: #000033; } button.delete, input.button.delete { border-color: #990000; border-right-color: #ff0000; border-bottom-color: #ff0000; background-color: #ffffff; background-image: url(/numo/modules/calendar/styles/default/button-delete.png); color: #ffffff !important;} button.delete:active, input.button.delete:active { border-color: #ff0000; border-right-color: #ff0000; border-bottom-color: #ff0000; } /******************************** STRUCTURAL ********************************/ #the_calendar_large { /*clear: both; */ margin-top: 27px; position: static;} #the_calendar_small { clear: both; } .tip-container { z-index: 99; border: 0px solid #ff0000;} .tip-container, .tip-wrap { z-index: 99 } #numo_calendar_large { border-width: 0px; } #numo_calendar_large h4 { margin: 0px; padding: 0px; } #numo_calendar_large p { font-size: 9pt; font-style: italic; margin: 0px; padding: 0px} #numo_calendar_large table.main { border-width: 1px; border-style: solid; border-right: 0px;} #numo_calendar_large { position: relative; } #numo_calendar_large table.main th { width: 14%; border-style: solid; border-bottom-width: 1px; border-right-width: 1px; font-size: 8pt; } #numo_calendar_large table.main td { border-width: 0px; vertical-align: top; height: 125px; font-size: 8pt; padding: 0px; border-right-width: 1px; border-style: solid; border-bottom-width: 1px; } #numo_calendar_large table.main div.date { line-height: 22px; height: 22px; padding: 2px; text-align: right;} #numo_calendar_large table.main div.current-date { line-height: 22px; height: 22px; font-weight: bold; padding: 2px; text-align: right;} #numo_calendar_large table.main div.non-month-date { line-height: 22px; height: 22px; padding: 2px; text-align: right;} #numo_calendar_large ul { list-style-type: none; margin: 0px; padding: 0px; padding-left: 5px; padding-top: 5px;} #numo_calendar_large div a.add-event-button img { float: left; border: 0px; } #numo_calendar_large table.main a { text-decoration: none; } #numo_calendar_large table.main-day td { font-size: 8pt; padding: 0px; border-style: solid; border-right-width: 1px; border-bottom-width: 1px; } #numo_calendar_large table.main div.container { position: relative; z-index: 3; } #numo_calendar_large table.main div.container:hover { position: relative; border: 2px solid #333333; background-color: #ffffff !important; z-index: 3; margin: -10px -10px -10px -10px; font-size: 1.5em !important; } /** DAY VIEW **/ #numo_calendar_large th.time-column, #numo_calendar_large td.time-column { width: 65px; height: 20px; } #numo_calendar_large td.time-column { text-align: right; padding-right: 10px !important; } #numo_calendar_large .dotted { border-bottom-style: dotted !important; border-bottom-width: 1px !important; } #numo_calendar_large .no-dots { border-bottom-width: 1px; background-color: #ffffff; border-bottom-color: #eeeeee;} #numo_calendar_large th.current-date { font-weight: bold; text-align: center; font-size: 9pt; height: 20px; white-space: nowrap;} #numo_calendar_large table.main-day { border-width: 1px; border-style: solid; border-right-width: 0px;} #numo_calendar_large table.main-day td.date { padding-left: 10px; } #numo_calendar_large table.main-day td.current-date { padding-left: 10px; } .time-block-left { float: left; border-style: solid; border-width: 0px; border-right-width: 1px; border-bottom-width: 1px; height: 20px; width: 65px; font-size: 8pt; } .time-block-right { border-width: 0px; font-size: 8pt; border-style: solid; border-right-width: 1px; border-bottom-width: 1px; height: 20px; height: 20px; margin-left: 65px; } .time-block-all { border-width: 0px; font-size: 8pt; border-style: solid; border-right-width: 1px; border-bottom-width: 1px; height: 20px; height: 20px; } #numo_calendar_large div.main-day-block { border-width: 0px; border-style: solid; border-bottom-width: 1px; position: relative; } /** SMALL CALENDAR VIEW **/ #numo_calendar_small { border-width: 0px; margin-bottom: 10px; max-width: 200px;} #numo_calendar_small h4 { margin: 0px; padding: 0px; font-size: 10pt; } #numo_calendar_small p { font-size: 8pt; font-style: italic; margin: 0px; padding: 0px} #numo_calendar_small table.main th { width: 14%; border-style: solid; border-width: 0px; border-bottom-width: 1px; border-right-width: 1px; font-size: 8pt; } #numo_calendar_small table.main td { border-width: 0px; vertical-align: top; font-size: 8pt; padding: 0px; border-right-width: 1px; border-bottom-width: 1px; border-style: solid; } #numo_calendar_small table.main div.date { cursor: pointer; line-height: 22px; height: 22px; padding: 2px; text-align: center;} #numo_calendar_small table.main div.current-date { cursor: pointer; line-height: 22px; height: 22px; padding: 2px; text-align: center;} #numo_calendar_small table.main td.selected-day { cursor: pointer; } #numo_calendar_small table.main div.non-month-date { cursor: pointer; line-height: 22px; height: 22px; padding: 2px; text-align: center;} /** AGENDA **/ #numo_calendar_agenda { border: 0px solid #666;} #numo_calendar_agenda h4 { margin: 0px; padding: 0px; font-size: 10pt; } #numo_calendar_agenda p { margin: 0px; padding: 0px; font-size: 8pt; font-style: italic; } #numo_calendar_agenda ul.agenda { margin: 0px; padding: 0px; font-size: 9pt; list-style-type: none;} #numo_calendar_agenda li.day { font-weight: bold; } #numo_calendar_agenda li.day ul { list-style-type: none; margin: 0px; padding: 0px; padding-left: 5px; font-weight: normal; font-size: 8pt; } /** EVENTS **/ #numo_calendar_large div.basic-event { position: absolute; border-style: solid; border-width: 1px; background-color: #ffffff; font-size: 8pt; width: auto; } #event-box, #edit-event-box { border-style: solid; border-width: 1px; background-color: #ffffff; padding: 10px;width: 350px; min-height: 200px; position:absolute; top: 0px; left: 0px; font-size: 9pt; } #edit-event-box h2 { display: none; } #close-box, #edit-close-box { float: right; padding: 1px; border-style: solid; border-width: 1px; font-weight: bold; font-size: 9pt; cursor: pointer; } #event-box-title { float: left; } #event-event-box-title { float: left; } #event-box-text { clear: both; } /* span { color: #cccccc; } */ span.event-type-name { font-size: 11pt; font-weight: bold; width: 100px; } #event-box-event-type, #edit-event-box-event-type { border-width: 0px; height: 25px; } #event-box-description, #edit-event-box-description { border-style: solid; border-width: 1px; clear: both; margin: 5px; padding: 5px; margin-left: 0px; margin-right: 0px; padding-bottom: 2px;} #event-box-when, #edit-event-box-when { border-style: solid; border-width: 1px; clear: both; margin: 5px; padding: 5px; margin-left: 0px; margin-right: 0px; padding-bottom: 2px;} #event-box-when-detail { border-style: solid; border-width: 1px; clear: both; margin: 5px; padding: 5px; margin-left: 0px; margin-right: 0px; padding-bottom: 2px;} #event-box-description input, #edit-event-box-description input { margin-bottom: 3px; width: 330px;} #event-box label, #edit-event-box label { clear: left; font-size: 11pt; font-weight: bold; width: 100px;} #event-box input, #edit-event-box input { font-size: 10pt; } #event-box select, #edit-event-box select { font-size: 10pt; } #my-event-start, #edit-my-event-start { text-align: right; margin-bottom: 3px; cursor: pointer; } #my-event-end, #edit-my-event-end { text-align: right; margin-bottom: 3px; cursor: pointer; } #event-box label.time-start, #edit-event-box label.time-start { clear: left; font-size: 9pt; font-weight: bold; width: 100px; } #event-box label.time-end, #edit-event-box label.time-end { clear: left; font-size: 9pt; font-weight: bold; width: 100px; } div.delete-button { background-repeat: no-repeat; background-position: center center; height: 15px; float: right; width: 17px; } a.delete-button { display: block; line-height: 15px; text-decoration: none; width: 17px;} #loading-container, #edit-loading-container { display: none; line-height: 200px; text-align: center; width: 250px; margin: auto; clear: both; height: 150px; font-weight: bold; color: #444444; background-image: url(numo/modules/calendar/images/loading.gif); background-repeat: no-repeat; background-position: center center; } #edit-repeat-change-container { display: none; text-align: center; width: 350px; margin: auto; clear: both; height: 150px; font-weight: bold; color: #444444; background-color: #ffffff; background-repeat: no-repeat; background-position: center center; } #edit-repeat-delete-container { display: none; text-align: center; width: 350px; margin: auto; clear: both; height: 150px; font-weight: bold; color: #444444; background-color: #ffffff; background-repeat: no-repeat; background-position: center center; } /** TIP BOX **/ div.tip { border-style: solid; border-width: 1px; background-color: #ffffff; font-size: 8pt;} div.tip-title { border-style: solid; border-bottom-width: 1px; min-width: 150px; font-weight: bold; padding: 2px; cursor: pointer} div.tip-text { padding: 5px; color: #444444 !important; } div.time-block-left { background-color: #ffffff; color: #444444; } /** NAVIGATION BUTTONS **/ #move-buttons a { line-height: 14px; display: block; text-decoration: none; outline: none;} #back-button { margin: 3px; background-repeat: no-repeat; background-position: center center; height: 20px; float: left; width: 20px; margin-left: 0px; } #next-button { margin: 3px; background-repeat: no-repeat; background-position: center center; height: 20px; float: left; width: 20px; } #period-selector { float: right; margin-top: 6px; } #period-selector a { outline: none; font-size: 9pt; font-weight: bold; text-decoration: none; display: block; line-height: 16px; padding-left: 10px; padding-right: 10px; padding-top: 2px;} #period-selector div { text-align: center; height: 20px; margin-left: 5px; padding-bottom: 0px;} #date_label, #date_label_small { font-weight: bold; line-height: 14px; font-size: 10pt; margin: 3px; padding: 2px; padding-left: 7px; padding-top: 3px; float: left; } #month-button { float: left; } #week-button { float: left; } #day-button { float: left; } /** FORM BUTTONS **/ button { padding: 1px 10px; } button, input.button { font-size: 9pt !important; width:auto !important; margin-right: 2px; margin-left:3px; border-width:1px; border-style: solid; padding: 1px 6px; background-position: left center; background-repeat: repeat-x; } button:active, input.button:active { border-width: 1px; border-style: solid; } button:hover, input.button:hover { cursor:pointer; } button.primary, input.button.primary { font-weight: bold; border-width: 1px; border-style: solid; background-position: right center; background-repeat: repeat-x; } button.primary:active, input.button.primary:active { border-width: 1px; border-style: solid;} button.delete, input.button.delete { font-weight: bold; border-width: 1px; border-style: solid; background-position: right center; background-repeat: repeat-x; } button.delete:active, input.button.delete:active { border-width: 1px; border-style: solid;} /* LOGIN BOX */ #login-status { float: right; font-size: 10pt; } #login-status span { font-weight: bold; padding-right: 5px; } #login-box { display: none; background-color: #ffffff; padding: 10px; border-width: 1px; border-style: solid !important;} #login-box table { border: 0px !important; } #event-box select { width: auto !important; float: left; } #event-box input { width: auto !important; } if (typeof $ == 'function') { $.noConflict(); } else { } /*********************************************** * Jason's Date Input Calendar- By Jason Moon http://calendar.moonscript.com/dateinput.cfm * Script featured on and available at http://www.dynamicdrive.com * Keep this notice intact for use. ***********************************************/ td.calendarDateInput {letter-spacing:normal;line-height:normal;font-family:,Sans-Serif;font-size:9px;} select.calendarDateInput { font-family:sans-serif; font-size:9pt !important;} input.calendarDateInput {font-family:sans-serif;font-size:9pt !important;}

Academic Calendar

Here is the Calendar of events for OLC.

  • There are no upcoming events to show.
var currentDate = new Date(); var ImageURL = '/numo/images/calendar.jpg'; var NextURL = '/numo/images/next.gif'; var PrevURL = '/numo/images/prev.gif'; var currentViewMode = "month"; var req = null; var reqSmall = null; var editEventReq = null; var calendarID = 1; var inBox = false; var currentCommand = ""; var dayEventsShuffle = new Array(); window.addEvent('resize', function() { if ((currentViewMode == "day" || currentViewMode == "week") && reShuffleEvents) { reShuffleEvents(); } }); window.addEvent('domready', function() { myTips = new Tips(".test-tip", {fixed: true}); req = new Request.HTML({url:'component.numo', onSuccess: function(html) { // Clear the text currently inside the results div. $('the_calendar_large').set('text', ''); // Inject the new DOM elements into the results div. $('the_calendar_large').adopt(html); if ((currentViewMode == "day" || currentViewMode == "week") && reShuffleEvents) { reShuffleEvents(); } myTips = new Tips(".test-tip", {fixed: true}); if (currentViewMode == "month") { $('date_label').set('text', currentDate.format("%B %Y")); changeCurrentDay($("td" + currentDate.format("%Y-%m-%d")), currentDate.format("%Y-%m-%d"), "large"); } else if (currentViewMode == "day") { $('date_label').set('text', currentDate.format("%B %d, %Y")); } else if (currentViewMode == "week") { $('date_label').set('text', ''); } currentCommand = ""; }, //Our request will most likely succeed, but just in case, we'll add an // onFailure method which will let the user know what happened. onFailure: function() { //$('the_calendar_large').set('text', ''); $('the_calendar_large').set('text', 'The request failed.'); alert(req.responseElements ); }, noCache: true, method: 'get' }); reqSmall = new Request.HTML({url:'component.numo', onSuccess: function(html) { // Clear the text currently inside the results div. $('the_calendar_small').set('text', ''); // Inject the new DOM elements into the results div. $('the_calendar_small').adopt(html); if ((currentViewMode == "day" || currentViewMode == "week") && reShuffleEvents) { // reShuffleEvents(); } myTips = new Tips(".test-tip", {fixed: true}); $('date_label_small').set('text', currentDate.format("%B %Y")); if (currentViewMode == "month") { changeCurrentDay($("td-small-" + currentDate.format("%Y-%m-%d")), currentDate.format("%Y-%m-%d"), "small"); } else if (currentViewMode == "day") { // $('date_label').set('text', currentDate.format("%B %d, %Y")); } else if (currentViewMode == "week") { //$('date_label').set('text', ''); } currentCommand = ""; }, // Our request will most likely succeed, but just in case, we'll add an // onFailure method which will let the user know what happened. onFailure: function() { $('the_calendar').set('text', 'The request failed.'); }, noCache: true, method: 'get' }); editEventReq = new Request.HTML({url:'component.numo', evalScripts: true, onSuccess: function(html) { $('edit-event-container').set('html', ''); $('edit-event-container').adopt(html); var myFirstDate = DateInput2("editfield_1_date", true, "YYYY-MM-DD", Date.parse(myEditDateStart).format("%Y-%m-%d"), document.forms["edit-event-form"]); $('date-picker-1').appendChild(myFirstDate); var mySecondDate = DateInput2("editfield_2_date", true, "YYYY-MM-DD", Date.parse(myEditDateEnd).format("%Y-%m-%d"),document.forms["edit-event-form"]); $('date-picker-2').appendChild(mySecondDate); if ($('date-picker-repeat-end')) { var myThirdDate = DateInput2("edit_repeat_until_date", true, "YYYY-MM-DD", Date.parse(myRepeatDateEnd).format("%Y-%m-%d"), document.forms["edit-event-form"]); $('date-picker-repeat-end').appendChild(myThirdDate); } showEditEventBox(); }, // Our request will most likely succeed, but just in case, we'll add an // onFailure method which will let the user know what happened. onFailure: function() { alert("Load Failed"); }, noCache: true, method: 'get' }); if ($('create-event-form') && $('create-event-form').addEvent) { $('create-event-form').addEvent('submit', function(e) { // Prevents the default submit event from loading a new page. e.stop(); if (this.elements['event_type_id'].tagName == "INPUT") { var myEventTypeID = this.elements['event_type_id'].value } else { var eventTypeIDSelectedIndex = this.elements['event_type_id'].selectedIndex; var myEventTypeID = this.elements['event_type_id']['options'][eventTypeIDSelectedIndex].value } for (i = 0; i < this.elements.length; i++) { if (this.elements[i].getAttribute("rel") == "required" && this.elements[i].value == "" && this.elements[i].getAttribute("name").search("event_type_" + myEventTypeID) > -1 ) { alert("The '" + this.elements[i].getAttribute("title") + "' field is required"); return false; } } var eventContainer = "create-event-container"; $("create-event-container").style.display = "none"; var loadingContainer = "loading-container"; $("loading-container").style.display = "block"; this.set('send', {onComplete: function(response) { closeEventBox(); var loadingContainer = "loading-container"; $("loading-container").style.display = "none"; var eventContainer = "create-event-container"; $("create-event-container").style.display = "block"; var largeCalendarID = $('numo_calendar_large').getAttribute("rel"); if (currentViewMode == "month") { reloadCalendar(largeCalendarID); } else if (currentViewMode == "day") { reloadDay(largeCalendarID); } else if (currentViewMode == "week") { reloadWeek(largeCalendarID); } }}); // Send the form. this.send(); }); } if ($('edit-event-form') && $('edit-event-form').addEvent) { $('edit-event-form').addEvent('submit', function(e) { // Prevents the default submit event from loading a new page. e.stop(); var eventTypeIDSelectedIndex = this.elements['event_type_id'].selectedIndex; if (this.elements['event_type_id'].tagName == "INPUT") { var myEventTypeID = this.elements['event_type_id'].value } else { var myEventTypeID = this.elements['event_type_id']['options'][eventTypeIDSelectedIndex].value } for (i = 0; i < this.elements.length; i++) { if (this.elements[i].name.search("event_type_" + myEventTypeID + "__") == 0 && this.elements[i].getAttribute("rel") == "required" && this.elements[i].value == "") { alert("The '" + this.elements[i].getAttribute("title") + "' field is required."); return false; } } $("edit-event-container").style.display = "none"; $("edit-repeat-change-container").style.display = "none"; $("edit-repeat-delete-container").style.display = "none"; if ($('edit_repeating').getAttribute('value') != "" && $('edit_modified').getAttribute('value') == "2" && $('edit_repeat_save_method').getAttribute('value') == "" ) { $("edit-repeat-delete-container").style.display = "block"; return false; } else if ($('edit_repeating').getAttribute('value') != "" && $('edit_modified').getAttribute('value') == "1" && $('edit_repeat_save_method').getAttribute('value') == "" ) { $("edit-repeat-change-container").style.display = "block"; return false; } $("edit-loading-container").style.display = "block"; this.set('send', {onComplete: function(response) { closeEditEventBox(); var largeCalendarID = $('numo_calendar_large').getAttribute("rel"); $("edit-loading-container").style.display = "none"; $("edit-repeat-change-container").style.display = "none"; $("edit-repeat-delete-container").style.display = "none"; $("edit-event-container").style.display = "block"; if (currentViewMode == "month") { reloadCalendar(largeCalendarID); } else if (currentViewMode == "day") { reloadDay(largeCalendarID); } else if (currentViewMode == "week") { reloadWeek(largeCalendarID); } }}); // Send the form. this.send(); }); var myMover = new Fx.Move($('event-box'), {relativeTo: $('numo_calendar_large'), position: 'center'}); myMover.start(); var myMover = new Fx.Move($('edit-event-box'), {relativeTo: $('numo_calendar_large'), position: 'center'}); myMover.start(); } if ($('numo_calendar_large') && $('numo_calendar_large').addEvent) { var el = $('numo_calendar_large'); el.addEvent('mousewheel', function(e){ if (currentViewMode == "month" && !inBox) { e.stop(); var direction = e.wheel < 0 ? 'down' : 'up'; if (direction == "up") { moveBack(); } else { moveNext(); } } }); } }); function reShuffleEvents() { if (typeof dayEventsShuffle != undefined) { for (var j = 0; j < dayEventsShuffle.length; j++) { eval("new " + dayEventsShuffle[j]); } } } function setFormRepeatSave(element) { element.form['repeat_save_method'].value = element.id.replace("edit_repeat_save_method_", ""); } function setFormRepeatDelete(element) { element.form['repeat_save_method'].value = element.id.replace("edit_repeat_save_method_", ""); } function setFormModified(element) { element.form['modified'].value = 1; } function editEvent(eventID, theDate) { editEventReq.send("module=calendar&component=get_edit_event&event_id=" + eventID+"&dateEditing=" + theDate); } function changeCurrentDay(tdCell, theDate, type) { if (!tdCell) { return; } if (tdCell.id.search("-small")) { cellPrefix = "td-small-"; } else { cellPrefix = "td"; } cellCurrentDate = tdCell.id.replace(cellPrefix, ""); // disable the previous var currentDateString = currentDate.format("%Y-%m-%d"); if (new Date().format("%Y-%m-%d") == currentDate.format("%Y-%m-%d")) { if ($("td" + currentDateString) && currentViewMode == "month") { $("td" + currentDateString).className = "current-date"; } if ($("td-small-" + currentDateString)) { $("td-small-" + currentDateString).className = "current-date"; } } else { if ($("td" + currentDateString) && currentViewMode == "month") { if (new Date().format("%Y-%m") != currentDate.format("%Y-%m")) { $("td" + currentDateString).className = "non-month-date"; } else { $("td" + currentDateString).className = "date"; } } if ($("td-small-" + currentDateString)) { if (new Date().format("%Y-%m") != currentDate.format("%Y-%m")) { $("td-small-" + currentDateString).className = "non-month-date"; } else { $("td-small-" + currentDateString).className = "date"; } } } // enable the current one currentDate = currentDate.set('month', new Date().parse(theDate).format("%m") - 1); currentDate = currentDate.set('year', new Date().parse(theDate).format("%Y")); currentDate = currentDate.set('date', new Date().parse(theDate).format("%d")); if (new Date().format("%Y-%m-%d") != currentDate.format("%Y-%m-%d") && tdCell) { if ($("td" + theDate) && currentViewMode == "month") { $("td" + theDate).className = "selected-day"; } if ($("td-small-" + theDate)) { $("td-small-" + theDate).className = "selected-day"; } } if (!$("numo_calendar_large") && currentCommand != "moveNextBack") { //alert("full-reload"); document.location.href="manage.numo?module=calendar&component=view&size=large&id=" + calendarID + "&viewMode=day&theDate="+theDate; } else { if (currentViewMode == "day") { reloadDay(); } else if (currentViewMode == "week") { reloadWeek(); } } } function deleteEvent(eventID) { if (confirm("Are you sure you wish to permanently delete this event?")) { if (currentViewMode == "month") { var monthToSend = currentDate.format("%Y-%m"); req.send("module=calendar&component=get_month&id=" + calendarID + "&monthToLoad="+monthToSend+"&cmd=deleteEvent&event_id=" + eventID); } else if (currentViewMode == "day") { var dayToSend = currentDate.format("%Y-%m-%d"); req.send("module=calendar&component=get_day&id=" + calendarID + "&dayToLoad="+dayToSend+"&cmd=deleteEvent&event_id=" + eventID); } else if (currentViewMode == "week") { var dayToSend = currentDate.format("%Y-%m-%d"); req.send("module=calendar&component=get_week&id=" + calendarID + "&weekToLoad="+weekToSend+"&cmd=deleteEvent&event_id=" + eventID); } } } function saveEvent() { var eventContainer = "create-event-container"; var myReveal = new Fx.Reveal($(eventContainer), {duration: 500, mode: 'vertical'}); myReveal.dissolve().chain(function() { var loadingContainer = "loading-container"; var myLoading = new Fx.Reveal($(loadingContainer), {duration: 500, mode: 'vertical'}); myLoading.reveal().chain(function() { $('create-event-form').submit(); }); }); } function reloadCalendar(myCalendarID) { if (typeof myCalendarID == 'undefined') { myCalendarID = calendarID; } var monthToSend = currentDate.format("%Y-%m"); req.send("module=calendar&component=get_month&id=" + myCalendarID + "&monthToLoad="+monthToSend); } function reloadWeek(myCalendarID) { if (typeof myCalendarID == 'undefined') { myCalendarID = calendarID; } var weekToSend = currentDate.format("%Y-%m-%d"); req.send("module=calendar&component=get_week&id=" + myCalendarID + "&weekToLoad="+weekToSend); } function reloadDay(myCalendarID) { if (typeof myCalendarID == 'undefined') { myCalendarID = calendarID; } var dayToSend = currentDate.format("%Y-%m-%d"); req.send("module=calendar&component=get_day&id=" + myCalendarID + "&dayToLoad="+dayToSend); } function moveBack(myCalendarID) { if (typeof myCalendarID == 'undefined') { myCalendarID = calendarID; } currentCommand = "moveNextBack"; if (currentViewMode == "month") { currentDate = currentDate.decrement('month'); var monthToSend = currentDate.format("%Y-%m"); if ($('numo_calendar_large') && $('numo_calendar_large').getAttribute && $('numo_calendar_large').getAttribute('rel') == myCalendarID) { //alert("b"); req.send("module=calendar&component=get_month&id=" + myCalendarID + "&monthToLoad="+monthToSend); } //alert($('numo_calendar_small')); //alert($('numo_calendar_small').getAttribute); //alert($('numo_calendar_small').getAttribute('rel') ); if ($('numo_calendar_small') && $('numo_calendar_small').getAttribute && $('numo_calendar_small').getAttribute('rel') == myCalendarID) { reqSmall.send("module=calendar&component=get_month&size=small&id=" + myCalendarID + "&monthToLoad="+monthToSend+"&non_month_today_color="); } } else if (currentViewMode == "day") { currentDate = currentDate.decrement('day'); var dayToSend = currentDate.format("%Y-%m-%d"); var monthToSend = currentDate.format("%Y-%m"); if ($('numo_calendar_large') && $('numo_calendar_large').getAttribute && $('numo_calendar_large').getAttribute('rel') == myCalendarID) { req.send("module=calendar&component=get_day&id=" + myCalendarID + "&dayToLoad="+dayToSend); } if ($('numo_calendar_small') && $('numo_calendar_small').getAttribute && $('numo_calendar_small').getAttribute('rel') == myCalendarID) { reqSmall.send("module=calendar&component=get_month&size=small&id=" + myCalendarID + "&monthToLoad="+monthToSend+"&non_month_today_color="); } } else if (currentViewMode == "week") { currentDate = currentDate.decrement('day', 7); var weekToSend = currentDate.format("%Y-%m-%d"); var monthToSend = currentDate.format("%Y-%m"); if ($('numo_calendar_large') && $('numo_calendar_large').getAttribute && $('numo_calendar_large').getAttribute('rel') == myCalendarID) { req.send("module=calendar&component=get_week&id=" + myCalendarID + "&weekToLoad="+weekToSend); } if ($('numo_calendar_small') && $('numo_calendar_small').getAttribute && $('numo_calendar_small').getAttribute('rel') == myCalendarID) { reqSmall.send("module=calendar&component=get_month&size=small&id=" + myCalendarID + "&monthToLoad="+monthToSend+"&non_month_today_color="); } } } function moveNext(myCalendarID) { if (typeof myCalendarID == 'undefined') { myCalendarID = calendarID; } currentCommand = "moveNextBack"; //alert(currentViewMode); if (currentViewMode == "month") { currentDate = currentDate.increment('month'); var monthToSend = currentDate.format("%Y-%m"); // alert($('numo_calendar_large')); //alert($('numo_calendar_large').getAttribute('rel')); if ($('numo_calendar_large') && $('numo_calendar_large').getAttribute && $('numo_calendar_large').getAttribute('rel') == myCalendarID) { req.send("module=calendar&component=get_month&id=" + myCalendarID + "&monthToLoad="+monthToSend); // alert("module=calendar&component=get_month&id=" + myCalendarID + "&monthToLoad="+monthToSend); } if ($('numo_calendar_small') && $('numo_calendar_small').getAttribute && $('numo_calendar_small').getAttribute('rel') == myCalendarID) { reqSmall.send("module=calendar&component=get_month&size=small&id=" + myCalendarID + "&monthToLoad="+monthToSend+"&non_month_today_color="); // alert("sentsmall"); } } else if (currentViewMode == "day") { currentDate = currentDate.increment('day'); var dayToSend = currentDate.format("%Y-%m-%d"); var monthToSend = currentDate.format("%Y-%m"); if ($('numo_calendar_large') && $('numo_calendar_large').getAttribute && $('numo_calendar_large').getAttribute('rel') == myCalendarID) { req.send("module=calendar&component=get_day&id=" + myCalendarID + "&dayToLoad="+dayToSend); } if ($('numo_calendar_small') && $('numo_calendar_small').getAttribute && $('numo_calendar_small').getAttribute('rel') == myCalendarID) { reqSmall.send("module=calendar&component=get_month&size=small&id=" + myCalendarID + "&monthToLoad="+monthToSend+"&non_month_today_color="); } } else if (currentViewMode == "week") { currentDate = currentDate.increment('day', 7); var weekToSend = currentDate.format("%Y-%m-%d"); var monthToSend = currentDate.format("%Y-%m"); if ($('numo_calendar_large') && $('numo_calendar_large').getAttribute && $('numo_calendar_large').getAttribute('rel') == myCalendarID) { req.send("module=calendar&component=get_week&id=" + myCalendarID + "&weekToLoad="+weekToSend); } if ($('numo_calendar_small') && $('numo_calendar_small').getAttribute && $('numo_calendar_small').getAttribute('rel') == myCalendarID) { reqSmall.send("module=calendar&component=get_month&size=small&id=" + myCalendarID + "&monthToLoad="+monthToSend+"&non_month_today_color="); } } } function viewMonth(myCalendarID) { if (typeof myCalendarID == 'undefined') { myCalendarID = calendarID; } currentViewMode = "month"; selectPeriodButton('month-button'); reloadCalendar(myCalendarID); } function viewWeek(myCalendarID) { if (typeof myCalendarID == 'undefined') { myCalendarID = calendarID; } currentViewMode = "week"; selectPeriodButton('week-button'); reloadWeek(myCalendarID); } function viewDay(myCalendarID) { if (typeof myCalendarID == 'undefined') { myCalendarID = calendarID; } currentViewMode = "day"; selectPeriodButton('day-button'); reloadDay(myCalendarID); } function selectPeriodButton(buttonID) { for (var i = 0; i < $('period-selector').childNodes.length; i++) { $('period-selector').childNodes[i].className = ""; $('period-selector').childNodes[i].firstChild.className = ""; } $(buttonID).className = "selected"; $(buttonID).firstChild.className = "selected"; } function showEventBox(myDate) { //alert(myDate); // setup the display of the date var myDateInfo = myDate.split("-"); var myYear = myDateInfo[0]; //alert(myYear); var myEventBoxDateStart = document.getElementById("my-event-start"); var myEventBoxDateEnd = document.getElementById("my-event-end"); var currentDateTime = new Date(); currentDateTime.set("year", myYear); var myEndTimeX = currentDateTime.clone().increment('minute', 30); var myStartTime = currentDateTime.get('hr')+":" + currentDateTime.get('min'); var myEndTime = myEndTimeX.get('hr')+":" + myEndTimeX.get('min'); myEventBoxDateStart.innerHTML = Date.parse(myDate + " " + myStartTime).format('%a %b %d %I:%M %p'); myEventBoxDateEnd.innerHTML = new Date().parse(myDate + " " + myEndTime).format('%I:%M %p'); //alert(myEventBoxDateStart.innerHTML); //var myEventBoxDateEnd = document.getElementById("my-event-end"); myEventBoxDateEnd.setAttribute("value", myDate); // reset the date display closeEventTime(); // make sure the box is moved to the center of the page // var myMover = new Fx.Move($('event-box'), {relativeTo: $('numo_calendar_large'), position: 'center'}); // myMover.start().chain(function() { var myReveal = new Fx.Reveal($('event-box'), {duration: 500, mode: 'vertical'}); myReveal.reveal().chain(function() { myOverText_event_type_1__field_3 = new OverText($('event_type_1__field_3'), {element: 'span'}); myOverText_event_type_1__field_3.show(); myOverText_event_type_1__field_4 = new OverText($('event_type_1__field_4'), {element: 'span'}); myOverText_event_type_1__field_4.show(); myOverText_event_type_1__field_5 = new OverText($('event_type_1__field_5'), {element: 'span'}); myOverText_event_type_1__field_5.show(); myOverText_event_type_2__field_3 = new OverText($('event_type_2__field_3'), {element: 'span'}); myOverText_event_type_2__field_3.show(); myOverText_event_type_3__field_3 = new OverText($('event_type_3__field_3'), {element: 'span'}); myOverText_event_type_3__field_3.show(); myOverText_event_type_3__field_5 = new OverText($('event_type_3__field_5'), {element: 'span'}); myOverText_event_type_3__field_5.show(); myOverText_event_type_3__field_6 = new OverText($('event_type_3__field_6'), {element: 'span'}); myOverText_event_type_3__field_6.show(); myOverText_event_type_4__field_3 = new OverText($('event_type_4__field_3'), {element: 'span'}); myOverText_event_type_4__field_3.show(); myOverText_event_type_4__field_6 = new OverText($('event_type_4__field_6'), {element: 'span'}); myOverText_event_type_4__field_6.show(); myOverText_event_type_5__field_3 = new OverText($('event_type_5__field_3'), {element: 'span'}); myOverText_event_type_5__field_3.show(); myOverText_event_type_6__field_3 = new OverText($('event_type_6__field_3'), {element: 'span'}); myOverText_event_type_6__field_3.show(); }); //}); var myFirstDatePicker = eval('field_1_date_Object'); myFirstDatePicker.displayed.monthIndex = new Date().parse(myDate).format('%m') - 1; myFirstDatePicker.displayed.yearIndex = new Date().parse(myDate).format('%Y'); myFirstDatePicker.displayed.yearValue = myFirstDatePicker.displayed.yearIndex ; myFirstDatePicker.getYearField().value = myFirstDatePicker.displayed.yearIndex ; myFirstDatePicker.pickDay(new Date().parse(myDate).format('%d')); myFirstDatePicker.show(); // toggles the show, to actually hide it var mySecondDatePicker = eval('field_2_date_Object'); mySecondDatePicker.displayed.monthIndex = new Date().parse(myDate).format('%m') - 1; mySecondDatePicker.displayed.yearIndex = new Date().parse(myDate).format('%Y'); mySecondDatePicker.displayed.yearValue = mySecondDatePicker.displayed.yearIndex ; mySecondDatePicker.getYearField().value = mySecondDatePicker.displayed.yearIndex ; mySecondDatePicker.pickDay(new Date().parse(myDate).format('%d')); mySecondDatePicker.show(); // toggles the show, to actually hide it try { var myRepeatUntilDateInput = eval("repeat_until_Object"); myRepeatUntilDateInput.displayed.monthIndex = new Date().parse(myDate).format('%m') - 1; myRepeatUntilDateInput.displayed.yearIndex = new Date().parse(myDate).format('%Y'); myRepeatUntilDateInput.displayed.yearValue = myRepeatUntilDateInput.displayed.yearIndex ; myRepeatUntilDateInput.getYearField().value = myRepeatUntilDateInput.displayed.yearIndex ; myRepeatUntilDateInput.pickDay(new Date().parse(myDate).format('%d')); myRepeatUntilDateInput.show(); // toggles the show, to actually hide it } catch (error) { } var myFirstTimePicker = document.getElementById("field_1_time"); myFirstTimePicker.setAttribute("value", new Date().parse(myDate + " " + myStartTime).format('%I:%M %p')); var mySecondTimePicker = document.getElementById("field_2_time"); mySecondTimePicker.setAttribute("value", new Date().parse(myDate + " " + myEndTime).format('%I:%M %p')); } function setDayAllDay(myCheckbox) { var myCheckboxIsChecked = myCheckbox.checked; var myFirstTimePicker = document.getElementById("field_1_time"); var mySecondTimePicker = document.getElementById("field_2_time"); if (myCheckboxIsChecked) { myFirstTimePicker.style.display = "none"; mySecondTimePicker.style.display = "none"; } else { myFirstTimePicker.style.display = "block"; mySecondTimePicker.style.display = "block"; } } function setDayAllDayEdit(myCheckbox) { var myCheckboxIsChecked = myCheckbox.checked; var myFirstTimePicker = document.getElementById("edit_field_1_time"); var mySecondTimePicker = document.getElementById("edit_field_2_time"); if (myCheckboxIsChecked) { myFirstTimePicker.style.display = "none"; mySecondTimePicker.style.display = "none"; } else { myFirstTimePicker.style.display = "block"; mySecondTimePicker.style.display = "block"; } } function showEventBoxDay(myDate, myStartHour, myStartMinute) { inBox = true; // setup the display of the date var myEventBoxDateStart = document.getElementById("my-event-start"); var myEventBoxDateEnd = document.getElementById("my-event-end"); var currentDateTime = new Date(); currentDateTime.set("hr", myStartHour); currentDateTime.set("min", myStartMinute); var myStartTime = currentDateTime.get('hr')+":" + currentDateTime.get('min'); var myEndTimeX = currentDateTime.clone().increment('minute', 30); var myEndTime = myEndTimeX.get('hr')+":" + myEndTimeX.get('min'); myEventBoxDateStart.innerHTML = Date.parse(myDate + " " + myStartTime).format('%a %b %d %I:%M %p'); myEventBoxDateEnd.innerHTML = new Date().parse(myDate + " " + myEndTime).format('%I:%M %p'); var myEventBoxDateEnd = document.getElementById("my-event-end"); myEventBoxDateEnd.setAttribute("value", myDate); // reset the date display closeEventTime(); // make sure the box is moved to the center of the page var myMover = new Fx.Move($('event-box'), {relativeTo: $('numo_calendar_large'), position: 'center'}); myMover.start().chain(function() { var myReveal = new Fx.Reveal($('event-box'), {duration: 0, mode: 'vertical'}); myReveal.reveal().chain(function() { var myOverText_field_3 = new OverText($('field_3'), {element: 'span'}); myOverText_field_3.show(); var myOverText_field_4 = new OverText($('field_4'), {element: 'span'}); myOverText_field_4.show(); var myOverText_field_5 = new OverText($('field_5'), {element: 'span'}); myOverText_field_5.show(); var myOverText_field_3 = new OverText($('field_3'), {element: 'span'}); myOverText_field_3.show(); var myOverText_field_3 = new OverText($('field_3'), {element: 'span'}); myOverText_field_3.show(); var myOverText_field_5 = new OverText($('field_5'), {element: 'span'}); myOverText_field_5.show(); var myOverText_field_6 = new OverText($('field_6'), {element: 'span'}); myOverText_field_6.show(); var myOverText_field_3 = new OverText($('field_3'), {element: 'span'}); myOverText_field_3.show(); var myOverText_field_6 = new OverText($('field_6'), {element: 'span'}); myOverText_field_6.show(); var myOverText_field_3 = new OverText($('field_3'), {element: 'span'}); myOverText_field_3.show(); var myOverText_field_3 = new OverText($('field_3'), {element: 'span'}); myOverText_field_3.show(); var myOverText_field_3 = new OverText($('field_3'), {element: 'span'}); myOverText_field_3.show(); var myOverText_field_4 = new OverText($('field_4'), {element: 'span'}); myOverText_field_4.show(); var myOverText_field_5 = new OverText($('field_5'), {element: 'span'}); myOverText_field_5.show(); }); }); var myFirstDatePicker = eval('field_1_date_Object'); myFirstDatePicker.displayed.monthIndex = new Date().parse(myDate).format('%m') - 1; myFirstDatePicker.displayed.yearIndex = new Date().parse(myDate).format('%Y'); myFirstDatePicker.pickDay(new Date().parse(myDate).format('%d')); myFirstDatePicker.show(); // toggles the show, to actually hide it var mySecondDatePicker = eval('field_2_date_Object'); mySecondDatePicker.displayed.monthIndex = new Date().parse(myDate).format('%m') - 1; mySecondDatePicker.displayed.yearIndex = new Date().parse(myDate).format('%Y'); mySecondDatePicker.pickDay(new Date().parse(myDate).format('%d')); mySecondDatePicker.show(); // toggles the show, to actually hide it var myFirstTimePicker = document.getElementById("field_1_time"); myFirstTimePicker.setAttribute("value", new Date().parse(myDate + " " + myStartTime).format('%I:%M %p')); var mySecondTimePicker = document.getElementById("field_2_time"); mySecondTimePicker.setAttribute("value", new Date().parse(myDate + " " + myEndTime).format('%I:%M %p')); } function showDay(theDate) { //alert("should show day"); } var typeOfRepeats = new Array(); typeOfRepeats[0] = "daily"; typeOfRepeats[1] = "weekdays"; typeOfRepeats[2] = "mwf"; typeOfRepeats[3] = "tth"; typeOfRepeats[4] = "weekly"; typeOfRepeats[5] = "monthly"; typeOfRepeats[6] = "yearly"; function changeRepeatType(selectBox) { var selectedIndex = selectBox.selectedIndex; var selectedValue = selectBox.options[selectedIndex].value; var selectedText = selectBox.options[selectedIndex].text; for (var i = 0; i < typeOfRepeats.length; i++) { var myExtraConfigArea = document.getElementById("repeat-" + typeOfRepeats[i]); if (myExtraConfigArea) { myExtraConfigArea.style.display = "none"; } } if (selectedValue != "") { var myExtraConfigArea = document.getElementById("repeat-" + selectedValue); if (myExtraConfigArea) { myExtraConfigArea.style.display = "block"; } } var myExtraConfigArea = document.getElementById("repeat-ends"); if (selectedValue != '') { myExtraConfigArea.style.display = "block"; } else { myExtraConfigArea.style.display = "none"; } } function changeEditRepeatType(selectBox) { var selectedIndex = selectBox.selectedIndex; var selectedValue = selectBox.options[selectedIndex].value; var selectedText = selectBox.options[selectedIndex].text; for (var i = 0; i < typeOfRepeats.length; i++) { var myExtraConfigArea = document.getElementById("edit_repeat-" + typeOfRepeats[i]); if (myExtraConfigArea) { myExtraConfigArea.style.display = "none"; } } if (selectedValue != "") { var myExtraConfigArea = document.getElementById("edit_repeat-" + selectedValue); if (myExtraConfigArea) { myExtraConfigArea.style.display = "block"; } } var myExtraConfigArea = document.getElementById("edit_repeat-ends"); if (selectedValue != '') { myExtraConfigArea.style.display = "block"; } else { myExtraConfigArea.style.display = "none"; } } function loginBox() { if ($('login-link').innerHTML == "Cancel") { // make sure the box is moved to the center of the page var myReveal = new Fx.Reveal($('login-box'), {duration: 500, mode: 'vertical'}); myReveal.dissolve(); $('login-link').innerHTML = "Login"; } else { // make sure the box is moved to the center of the page var myMover = new Fx.Move($('login-box'), {relativeTo: $('login-status'), position: 'bottomRight', edge: 'topRight'}); myMover.start().chain(function() { var myReveal = new Fx.Reveal($('login-box'), {duration: 500, mode: 'vertical'}); myReveal.reveal(); }); $('login-link').innerHTML = "Cancel"; } } function showEditEventBox() { inBox = true; // make sure the box is moved to the center of the page // var myMover = new Fx.Move($('edit-event-box'), {relativeTo: $('numo_calendar_large'), position: 'center'}); // myMover.start().chain(function() { var myReveal = new Fx.Reveal($('edit-event-box'), {duration: 500, mode: 'vertical'}); myReveal.reveal(); // }); } function closeEventBox() { inBox = false; var myReveal = new Fx.Reveal($('event-box'), {duration: 500, mode: 'vertical'}); myReveal.dissolve(); } function closeEditEventBox() { inBox = false; var myReveal = new Fx.Reveal($('edit-event-box'), {duration: 500, mode: 'vertical'}); myReveal.dissolve().chain(function() { $("edit-loading-container").style.display = "none"; $("edit-repeat-change-container").style.display = "none"; $("edit-repeat-delete-container").style.display = "none"; $("edit-event-container").style.display = "block"; }); } function closeEventTime() { var myDissolve = new Fx.Reveal($('event-box-when-detail'), {duration: 500, mode: 'vertical'}); myDissolve.dissolve().chain(function() { var myReveal = new Fx.Reveal($('event-box-when'), {duration: 500, mode: 'vertical'}); myReveal.reveal(); }); } function editEventTime(linkElement) { var myDissolve = new Fx.Reveal($('event-box-when'), {duration: 500, mode: 'vertical'}); myDissolve.dissolve().chain(function() { var myReveal = new Fx.Reveal($('event-box-when-detail'), {duration: 500, mode: 'vertical'}); myReveal.reveal(); }); } function editEditEventTime(linkElement) { var myDissolve = new Fx.Reveal($('edit-event-box-when'), {duration: 500, mode: 'vertical'}); myDissolve.dissolve().chain(function() { var myReveal = new Fx.Reveal($('edit-event-box-when-detail'), {duration: 500, mode: 'vertical'}); myReveal.reveal(); }); } function showTimeSelector(timeField) { var myTimeSelectorFieldName = timeField.id + "-selector"; var myReveal = new Fx.Reveal($(myTimeSelectorFieldName), {duration: 500, mode: 'vertical'}); myReveal.toggle(); } function hideTimeSelector(timeField) { var myTimeSelectorFieldName = timeField.id + "-selector"; var myReveal = new Fx.Reveal($(myTimeSelectorFieldName), {duration: 500, mode: 'vertical'}); myReveal.dissolve(); } function setTimeSelection(timeSelectorField) { var myTimeSelectorFieldName = timeSelectorField.id; var myTimeFieldID = myTimeSelectorFieldName.replace("-selector", ""); var myTimeField = document.getElementById(myTimeFieldID); var myDateFieldID = myTimeFieldID.replace("time", "date"); var myDateField = timeSelectorField.form[myDateFieldID]; var newTime = timeSelectorField.options[timeSelectorField.selectedIndex].text; // if we are updating the first field, then we need to space the second time as well if (myDateFieldID == "field_1_date") { var mySecondField = document.getElementById(myTimeFieldID.replace("1", "2")); var myFirstTime = new Date(); myFirstTime.set("hr", new Date().parse(myDateField.value + " " + newTime).format("H")); myFirstTime.set("min", new Date().parse(myDateField.value + " " + newTime).format("i")); var mySecondTime = new Date(); mySecondTime.set("hr", new Date().parse(myDateField.value + " " + newTime).format("H")); mySecondTime.set("min", new Date().parse(myDateField.value + " " + newTime).format("i")); var difference = myFirstTime.diff(mySecondTime); } else { } myTimeField.setAttribute("value", newTime); var myReveal = new Fx.Reveal($(myTimeSelectorFieldName), {duration: 500, mode: 'vertical'}); myReveal.dissolve(); } function updateVisibleEventFields(selectBox) { var myID = selectBox.options[selectBox.selectedIndex].value; var myEventBoxDescription = $('event-box-description'); for (i = 0; i < myEventBoxDescription.childNodes.length; i++) { var mySpan = myEventBoxDescription.childNodes[i]; mySpan.style.display = "none"; } $('event-box-description-' + myID).style.display = "inline"; }

Agriculture Extension

1994 Land Grant College

Leslie Rae Henry, email: lhenry@olc.edu,

Agriculture Extension Director, Phone: 605-455-6084 or 605-455-6085

Theresa Lone Hill, email: tloneh@olc.edu,

Agriculture Extension Adm. Assistent-Field Educator, Phone 605-455-6085

Mission Statement

"The Agriculture Extension Department supports the growth of Pine Ridge Reservation's human resources through community & research training for economic self-sufficiency with respect for cultural values."

Cooperative Extension Outreach Community Education

Community education is available through the department’s Extension programs in the format of workshops & seminars. The department's extension program is offering community workshops, seminars, or classroom instruction elementary through college courses. This program was designed to assist in the education of community members interested in improving community development. The department coordinates training with SDSU’s Extension programs and other Land-Grant University's. Examples of past training activities are as follows:

 

map ridge for Ag

 

Agriculture Extension Department Phone #: 605-455-6085

Pine Ridge Area Agriculture News Links

 

Ag Extension Resources

AIHEC Land Center

NRCS NEWS RELEASE

Private Land Owners Network

 

OLC Wazi Paha Festival Saturday August 29, 2015

Wazi Paha Veggie Contest Rule Book - 205

 

eXtension Training Site Links:

Engaged Advisory Committees: Strengthening Extension Advisory Leaders (SEAL) webinar

This SEAL webinar will focus on successful public engagement.