';
}
htmlBuffer += ' ' +
'
';
for(var i = 0; i < dayEvents.length; i++) {
var event = dayEvents[i];
//var eventTitle = event.title.replace(/([^\s]{15})/g,"$1-
");
var eventTitle = event.title;
var eventTime = event.startDate.format('g:i a');
var navCommand = "";
if ( event.seoKey && event.seoKey != "" )
{
navCommand = "window.location = '/calendar/" + event.seoKey + "';"
}
else
{
navCommand = "window.location = '/calendar/index?id=" + event.identifier + "';"
}
htmlBuffer += '
' + eventTime + '' +
'' + eventTitle + '
';
htmlBuffer +=
'\';
}
htmlBuffer +=
'
' +
'';
if(nowDate.format('w') == 6) {
htmlBuffer += '';
if(compareDates(nowDate, rangeEnds) < 0) {
htmlBuffer += '
';
}
}
nowDate = nowDate.add(Date.DAY, 1);
}
body.update(htmlBuffer);
hideLoadingCalendar();
$('monthlyView').show({duration: .4});
}
';
}
htmlBuffer += ' ' +
' ';
var lastEventTime = '';
for(var j = 0; j < dayEvents.length; j++, i++) {
var event = dayEvents[j];
var eventTime = event.startDate.format('ga');
//Breaking titles with too long words
var eventTitle = event.title.replace(/([^\s]{15})/g,"$1-
");
var navCommand = "";
if ( event.seoKey && event.seoKey != "" )
{
navCommand = "window.location = '/calendar/" + event.seoKey + "';"
}
else
{
navCommand = "window.location = '/calendar/index?id=" + event.identifier + "';"
}
htmlBuffer += (eventTime != lastEventTime?'
' + eventTime + '
':'') +
'
' + eventTitle + '
';
htmlBuffer +=
'\';
lastEventTime = eventTime;
}
htmlBuffer +=
'
' +
'';
currentDate = new Date(currentDate.getTime()+(1000*60*30*24));
}
htmlBuffer += '
';
body.update(htmlBuffer);
hideLoadingCalendar();
$('weeklyView').show({duration: .4});
}
';
return htmlBuffer;
}
function getOngoingEventHTML(event) {
var eventTitle = event.title.replace(/([^\s]{15})/g,"$1-
");
var htmlBuffer = '';
var tagsHTML = '';
if( event.tags && event.tags != null && event.tags != '') {
var tags = event.tags.split(',');
tagsHTML += "Tags: ";
for (var x = 0; x < tags.length; x++) {
var tag = tags[x];
if(x > 0)
tagsHTML += ', ';
tagsHTML += '
' + tag + '';
}
}
var locationHTML = '';
if(event.location1 != "") {
locationHTML = 'Location: ';
locationHTML += event.location1 + '
';
}
//add event summary
var summaryHTML = '';
if(event.summary != "" && event.summary != null){
summaryHTML = ''
summaryHTML += event.summary + '
';
}
//end add event summary
var categoriesHTML = '';
if(event.categories.length > 0) {
var categoriesHTML = 'Calendar: ';
for(var x = 0; x < event.categories.length; x++) {
var category = event.categories[x];
if(x > 0) categoriesHTML += ', ';
categoriesHTML += '
' + category.categoryName + ''
}
categoriesHTML += '
';
}
var ddHTML = locationHTML + summaryHTML;
//var ddHTML = locationHTML + categoriesHTML + tagsHTML;
var navCommand = "";
if ( event.seoKey && event.seoKey != "" )
{
navCommand = "window.location = '/calendar/" + event.seoKey + "';"
}
else
{
navCommand = "window.location = '/calendar/index?id=" + event.identifier + "';"
}
htmlBuffer +=
'
' +
'
' + event.startDate.format('F j, Y') + ' - ' + event.endDate.format('F j, Y') + ' ' +
'
' + (ddHTML != ''?ddHTML:' ') + '';
htmlBuffer +=
' \' + '
';
return htmlBuffer;
}
Annual Toy Drive
|
-
When:
-
Mon, November 18, 2013 11:00 AM - 1:00 PM
Volunteer your time to help put a smile on a child's face for the holidays!
Volunteers are needed to hand out gift tags with a child's name and age Monday, November 18 to Thursday, November 21 from 11:00 a.m. to 1:00 p.m. and 4:15 to 5:30 p.m. in Rose Dining Hall.
Sign up here.
New gifts and monetary donations will be accepted at the Center for Volunteerism & Service-Learning. Please drop off donations by Tuesday, December 3.
You can also stop by to create a holiday craft which will be donated to a local non-profit.
For more information, contact Nanette Spedden at nspedden@cse.edu or 973-290-4245.
Add to Calendar
18-11-2013 11:0:0
18-11-2013 13:0:0
Annual Toy Drive
Download Event
|
Loading...