CINXE.COM
Health and Wellness
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!-- OSS HEADER INCLUDES START --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="https://my.ucdavis.edu/l/bootstrap/css/saot-bootstrap.min.css" rel="stylesheet"> <link href="https://my.ucdavis.edu/l/bootstrap/css/saot-bootstrap-responsive.min.css" rel="stylesheet"> <script src="https://my.ucdavis.edu/l/jquery/jquery-2.1.1.min.js"></script> <script src="https://my.ucdavis.edu/l/bootstrap/js/bootstrap.min.js"></script> <script src="/js/saot.js?v=202010281347"></script> <script type="text/javascript"> if(typeof UCD === "undefined"){ var UCD = {}; } if(typeof UCD.SAOT === "undefined"){ UCD.SAOT = {}; } UCD.SAOT.jQuery = jQuery.noConflict(true); if(typeof jQuery == "undefined"){ window.jQuery = window.$ = UCD.SAOT.jQuery; } </script> <link href="https://my.ucdavis.edu/css/saot-bootstrap-adjusted.css?v=202411121126" rel="stylesheet"> <link rel="shortcut icon" href="https://my.ucdavis.edu/img/my.ico"> <!-- OSS HEADER INCLUDES END --> <title>Health and Wellness</title> <link href="/l/font-awesome/css/font-awesome.min.css" rel="stylesheet"> <link href="/css/OSSIcons/OSSIcons.css?v=202010281347" rel="stylesheet"> <link href="/css/custom.css" rel="stylesheet"> <script src="/l/spin.js/spin.min.js"></script> <script type="text/javascript" src="/l/saot-common/l/saot.js"></script> <script src="/js/_oss.js?v=202010281347"></script> <style> .edus1 {} .edus1 .spinner4-wrapper { margin-left: auto; margin-right: auto; min-height: 25px; } .edus1 .container-fluid { padding-right:0; } #edus1_container .module-body { max-height:400px; overflow:auto; } #edus1_container.module-expanded .module-body { max-height:none; } .edus1 .edus-body { color: #333333; width: 100%; line-height:16px; font-size:0.85em; } .edus1 .edus-body i { color:#8b6554; margin:0; padding:0; font-size:1.4em; } .edus1 .edus-activity-section { width:92%; padding-right:2%; margin-left:6%; } .edus1 .edus-activity-heading { font-size:1.2em; } .edus1 .edus-icon { width:12%; padding-right:2%; display:inline-block; vertical-align:top; } .edus1 .edus-icon img { width:100%; } .edus1 .edus-title { width:84%; padding-right:2%; display:inline-block; color:#002855; font-weight:bold; vertical-align:middle; } .edus1 .edus-link i { font-size:1em; color:#002855; } .edus1 .edus-body .edus-item-links { margin-left:10%; vertical-align:middle; } .edus1 .edus-body .edus-item-links i { vertical-align:middle; } .edus1 .edus-body .edus-item-links, .edus1 .edus-body .edus-item-links a { font-size:1em; } .edus1 .edus-body .edus-item-links > div + div { margin-top:5px; } .edus1 .edus-body .calendar-links-list a { vertical-align:middle; } .edus1 .edus-body .calendar-links-list > div + div { margin-top:5px; } .edus1 .edus-body .calendar-links { font-size:1em; } .edus1 .edus-body .calendar-links.fa-google { color:#00573F; font-size:1.1em; } .edus1 .edus-body .calendar-links.fa-calendar { color:#002855; } .edus1 .edus-body a{ color:#002855; text-decoration:none; font-size:1em; } .edus1 .edus-body .poll a{ font-size:.75em; } .edus1 .edus-body a:hover{ color:#335379; text-decoration:none; } .edus1 .edus-body .edus-activity-display-name a { font-size:.9em; } .edus1 .edus-body .control-group { padding-left: 0; padding-right: 0; } .edus1 iframe { display:none; } .edus1 .edus-body .edus-poll iframe { display:inline; height:0; width:0; border:none; } .edus1 .edus-body input, .edus1 .edus-body textarea, .edus1 .edus-body .uneditable-input { width:90%; } .edus1 .edus-body label,.edus1 .edus-body input,.edus1 .edus-body button,.edus1 .edus-body select,.edus1 .edus-body textarea { font-size:1em; } .edus1 .edus-container { width:100% } .edus1 .edus-header { display: inline-block; margin-left: 10px; } .edus1 .edus-search { display: inline-block; padding-top: 10px; padding-bottom: 5px; height: 35px; float: right; } .edus1 .edus-header-section { display: inline-block; padding-top: 0px; } .edus1 .edus-header-icon { display: inline-block; margin-right: 10px; cursor: pointer; } .edus1 .edus-login-link-color { color: #333333 !important; } .edus1 .edus-header-checkbox { display: inline-block; float: right; margin-left: 5%; } .edus1 .edus-activities { border: 1px solid #e8e8e8; margin-bottom:20px; padding-left:5px; } .edus1 .edus-activity { min-height: 80px; padding:0px 3px 0px 3px; border-bottom: 1px solid #e8e8e8; border-left: 1px solid #e8e8e8; border-right: 1px solid #e8e8e8; } .edus1 .edus-activity i{ } .edus1 .edus-activity-actions { } .edus1 .edus-activity-actions li { display: none; padding-right: 2%; } .edus1 .edus-activity-actions ul { margin-bottom: 0px; margin-left: 0px; } .edus1 .edus-activity-action { display: inline-block; font-size: smaller; } .edus1 .edus-activity-item { display: block; padding-top: 10px; padding-bottom:5px; border-bottom:1px solid #e8e8e8; } .edus1 .edus-activity-item:hover { background-color:#F5F5F5; } .edus1 .edus-event { color:#002855; font-weight:bold; margin-top:10px; margin-bottom:5px; } .edus1 .edus-activity-icon i { } .edus1 .edus-activity-img { vertical-align: top; width: 50px; height: 50px; text-align: center; } .edus1 .edus-activity-img img { width: 40px !important; height: 40px !important; -moz-border-radius: 4px; border-radius: 4px; } .edus1 .edus-activity-display-name { display: inline-block; font-size: medium; font-weight: bold; width: 100%; } .edus1 .edus-activity-content { line-height: 1.25em; padding-top: 5px; padding-right: 10px; margin-bottom } .edus1 .edus-activity-published-info { font-size:0.8em; margin-top:10px; } .edus1 .edus-activity-type { /*font-size: small;*/ color: #777777; display:inline; } .edus1 .edus-activity-date { display: inline; color: #777777; } .edus1 .edus-activity-priority { display: inline-block; float: right; width: 4px; height: 1.2em; margin-top: 2px; background: #006dcc; } .edus1 .edus-priority-10 { background: #FF0000; } /* priority = 0.9 */ .edus1 .edus-priority-09 { background: #ffff00; } /* priority = 0.8 */ .edus1 .edus-priority-08 { background: #00ff00; } /* priority = 0.1 */ .edus1 .edus-priority-01 { background: #0000ff; } /* priority = 0.0 */ .edus1 .edus-priority-00 { background: #FFFFFF; } .edus1 .edus-poll input[type="text"],.edus1 .edus-poll textarea { width:90%; } .edus1 .edus-poll select { width:100%; } .edus1 .edus-poll input[type="radio"], .edus1 .edus-poll input[type="checkbox"] { width:auto; } .edus1 .edus-poll .btn.btn-primary[type="submit"] { background-color:#e9d599; border:1px solid #dfc166; } .edus1 .edus-poll .btn.btn-primary[type="submit"]:hover { background-color:#dfc166; } .edus1 .edus-body .text-info { color:#002855; } @media (max-width: 765px) { .edus1 .edus-activity-published-info { font-size:0.8em; } .edus1 .edus-body .edus-icon i { font-size:3em; } .edus1 .edus-body .edus-item-links { margin-left:10%; } } @media (max-width: 600px) { .edus1 .edus-body .edus-icon i { font-size:2.5em; } } @media (max-width: 500px) { .edus1 .edus-body .edus-icon i { font-size:2em; } } @media (max-width: 450px) { .edus1 .edus-body .edus-icon i { font-size:2.2em; } .edus1 .edus-body { font-size:0.8em; } } @media (max-width: 380px) { .edus1 .edus-body .edus-icon i { font-size:1.7em; } .edus1 .edus-body { font-size:1em; } } @media (max-width: 320px) { .edus1 .edus-body .edus-icon i { font-size:1.4em; } } </style> <script type="text/javascript"> if(typeof EDUS1==="undefined"){ var EDUS1 = {}; EDUS1.aggiefeed_host = "aggiefeed-test.ucdavis.edu"; UCD.SAOT.EDUS = {}; UCD.SAOT.EDUS.CurrentGroup = 0; UCD.SAOT.EDUS.NumberOfItemsPerGroup = 7; /**/ EDUS1.getTimeString = function EDUS1getTimeString(suppliedDate,format){ var output = ""; if(suppliedDate != null && suppliedDate.getMonth != null){ var TimeOfDayIndicator = "AM"; var hour = suppliedDate.getHours(); var minutes = suppliedDate.getMinutes(); var separator = " "; if(typeof format!=="undefined" && format!=null && format!=""){ if(format=="nbsp"){ separator = " "; } } if(hour > 12){ var TimeOfDayIndicator = "PM"; hour = hour - 12; } if(hour == 12){ var TimeOfDayIndicator = "PM"; } if(minutes < 10){ minutes = "0" + minutes; } output = hour + ":" + minutes + separator + TimeOfDayIndicator; } return output; }; /**/ EDUS1.getDateString = function EDUS1getDateString(suppliedDate,format){ return (suppliedDate.getMonth() + 1) + "/" + suppliedDate.getDate() + "/" + suppliedDate.getFullYear(); }; EDUS1.getICalDownload = function EDUS1getICalDownload(encoded_ical_data){ var container = $(".edus1")[0]; if(typeof container!=="undefined" && typeof encoded_ical_data!=="undefined" && encoded_ical_data!=null && encoded_ical_data!=""){ var NewIframe = document.createElement("IFRAME"); NewIframe.src = "/modules/edus/cf/ical_download.cfm?ical="+encoded_ical_data; container.appendChild(NewIframe); } }; UCD.SAOT.EDUS.grabEDUSItems = function grabEDUSItems(){ /**/ var EDUSViewMoreLink = document.getElementById("EDUSViewMoreLink"); OSS.SPINJS.swapInSpinner(EDUSViewMoreLink,"#c99700"); var NewStartPosition = UCD.SAOT.EDUS.CurrentGroup * UCD.SAOT.EDUS.NumberOfItemsPerGroup; UCD.SAOT.loadAsset({"url":"https://"+UCD.SAOT.SERVICES_HOSTNAME+"/s/EDUS.cfm?Start_Position="+NewStartPosition+"&Max_Items="+(UCD.SAOT.EDUS.NumberOfItemsPerGroup+1)+"&Format=JSONP&Labels=&Item_Types=" ,"onLoadFunction":function(data,textStatus,jqXHR){ UCD.SAOT.EDUS.postEDUSItemsSItems(data,textStatus,jqXHR); } }); UCD.SAOT.EDUS.CurrentGroup = UCD.SAOT.EDUS.CurrentGroup + 1; }; UCD.SAOT.EDUS.postEDUSItemsSItems = function postEDUSItems(data,textStatus,jqXHR){ if(typeof UCD.SAOT.ASSETS.DATA != "undefined" && typeof UCD.SAOT.ASSETS.DATA.EDUS != "undefined" && typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA != "undefined" && typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA.length != "undefined"){ var EDUSContainer = document.getElementById("EDUSContainer"); var NewInnerHTML = ""; var i; var id=""; var item_type=""; var link=""; var linkDisplayName=""; var title=""; var sourceDisplayName = ""; var content = ""; var content2 = ""; var published = null; var today = new Date(); var start_date = null; var end_date = null; var event_start_date = null; var event_end_date = null; var location = ""; var event_is_all_day = 0; var event_ical_link = ""; var event_add_to_google_link = ""; var icon_style = ""; var allowedHTMLTags = {"font":["color"],"strong":[],"b":[],"i":[],"span":[],"div":[],"a":[],"ol":[],"ul":[],"li":[],"hr":[],"br":[],"table":[],"tr":[],"td":[],"th":[],"tbody":[],"p":[]}; var allowedPollHTMLTags = {"font":["color"],"strong":[],"b":[],"i":[],"span":[],"div":[],"a":[],"ol":[],"ul":[],"li":[],"hr":[],"br":[],"table":[],"tr":[],"td":[],"th":[],"tbody":[] ,"form":[],"input":[],"select":[],"textarea":[],"label":[],"fieldset":[],"button":[],"legend":[],"title":[],"p":[],"iframe":[] }; var icon_src = ""; var ellipsis = "\x85"; if(EDUSContainer!=null){ var startingIndex = UCD.SAOT.ASSETS.DATA.EDUS.DATA.length; if(startingIndex > UCD.SAOT.EDUS.NumberOfItemsPerGroup){ startingIndex = UCD.SAOT.EDUS.NumberOfItemsPerGroup; } for(i=0;i < startingIndex;i++){ id=""; item_type=""; link=""; linkDisplayName=""; title=""; sourceDisplayName = ""; content = ""; content2 = ""; published = null; start_date = null; end_date = null; event_start_date = null; event_end_date = null; location = ""; event_is_all_day = 0; event_ical_link = ""; event_add_to_google_link = ""; if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i]._id != "undefined"){ id = UCD.SAOT.ASSETS.DATA.EDUS.DATA[i]._id; } /**/ if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].icon != "undefined"){ icon_src = UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].icon; } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object!=="undefined"){ if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.objectType != "undefined"){ item_type = UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.objectType; } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel!=="undefined"){ if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.url != "undefined"){ link = UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.url; } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.urlDisplayName != "undefined"){ linkDisplayName = UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.urlDisplayName; } /**/ if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event!=="undefined"){ /**/ if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.startDate!=="undefined" && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.startDate!=null && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.startDate!=""){ try{ event_start_date = new Date(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.startDate); }catch(e){ /**/ } } /**/ if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.endDate!=="undefined" && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.endDate!=null && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.endDate!=""){ try{ event_end_date = new Date(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.endDate); }catch(e){ /**/ } } /**/ if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.location!=="undefined" && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.location!=null && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.location!=""){ location = UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.location; } /**/ if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.addToGoogleCalendar!=="undefined" && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.addToGoogleCalendar!=null && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.addToGoogleCalendar!=""){ event_add_to_google_link = UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.addToGoogleCalendar; } /**/ if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.iCalendar!=="undefined" && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.iCalendar!=null && UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.iCalendar!=""){ event_ical_link = UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.ucdEdusModel.event.iCalendar; } } } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.content!=="undefined"){ if(item_type=="poll"){ content = UCD.SAOT.Util.sanitizeHTML(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.content,allowedPollHTMLTags,1); }else{ content = UCD.SAOT.Util.sanitizeHTML(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.content,allowedHTMLTags,1); if(content.length > 140){ content2 = UCD.SAOT.Util.sanitizeHTML(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.content.substr(140,UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.content.length - 140),allowedHTMLTags,1); if(content2.substr(content2.length - 3,3)==="..."){ content2 = content2.substr(0,content2.length - 3); }else if(content2.substr(content2.length - 1,1)==="\x85"){ content2 = content2.substr(0,content2.length - 1); }else if(content2.substr(content2.length - 1,1)==="…"){ content2 = content2.substr(0,content2.length - 1); }else if(content2.substr(content2.length - 6,6)==="…"){ content2 = content2.substr(0,content2.length - 6); }else if(content2.substr(content2.length - 8,8)==="…"){ content2 = content2.substr(0,content2.length - 8); } content = UCD.SAOT.Util.sanitizeHTML(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].object.content.substr(0,140),allowedHTMLTags,1) + "<span id=\"edus1_"+id+"_more_content_container\" class=\"hide\">" + content2 + "</span><a id=\"edus1_"+id+"_more_content_trigger\" onclick=\"javascript:OSS.Util.HideShowContainersByIDs('edus1_"+id+"_more_content_container','edus1_"+id+"_more_content_trigger','...less','...more','toggle',null,null,null,null);\">...more</a>"; } } } } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].title != "undefined"){ /**/ title = UCD.SAOT.Util.sanitizeHTML(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].title,{}); } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].icon != "undefined"){ /**/ icon_style = UCD.SAOT.Util.sanitizeHTML(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].icon,{}); } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].actor != "undefined" && typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].actor.displayName != "undefined"){ sourceDisplayName = UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].actor.displayName; } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].published != "undefined"){ published = new Date(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].published); } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].ucdEdusMeta != "undefined" && typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].ucdEdusMeta.enddate != "undefined"){ end_date = new Date(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].ucdEdusMeta.enddate); } if(typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].ucdEdusMeta != "undefined" && typeof UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].ucdEdusMeta.startdate != "undefined"){ start_date = new Date(UCD.SAOT.ASSETS.DATA.EDUS.DATA[i].ucdEdusMeta.startdate); } if(today==null || start_date==null || end_date==null || (start_date!=null && end_date!=null && today!=null && today.getTime() >= start_date.getTime() && today.getTime() <= end_date.getTime())){ /*if(item_type=="notification" || item_type=="news" || item_type=="event" || item_type=="alert"){*/ if(1==1){ NewInnerHTML = NewInnerHTML + "<div class=\"edus-activity-item"; if(item_type=="poll"){ NewInnerHTML = NewInnerHTML + " edus-poll"; } NewInnerHTML = NewInnerHTML + "\">"; NewInnerHTML = NewInnerHTML + "<div class=\"edus-activity-heading clearfix\">"; NewInnerHTML = NewInnerHTML + "<div class=\"edus-icon\">"; /**/ if(icon_src!="" && icon_src.indexOf("/")==0){ NewInnerHTML = NewInnerHTML + "<img src=\"https://"+EDUS1.aggiefeed_host+icon_src+"\"/>"; }else{ if(item_type=="news"){ NewInnerHTML = NewInnerHTML + "<i class=\"fa fa-globe fa-fw\"></i>"; } else if(item_type=="notification"){ NewInnerHTML = NewInnerHTML + "<i class=\"fa fa-globe fa-fw\"></i>"; } else if(item_type=="event"){ NewInnerHTML = NewInnerHTML + "<i class=\"fa fa-calendar fa-fw\"></i>"; } else if(item_type=="alert"){ NewInnerHTML = NewInnerHTML + "<i class=\"fa fa-exclamation-triangle fa-fw\"></i>"; }else if(item_type=="poll"){ NewInnerHTML = NewInnerHTML + "<i class=\"fa fa-pencil-square-o fa-fw\"></i>"; }else{ NewInnerHTML = NewInnerHTML + "<i class=\"fa fa-globe fa-fw\"></i>"; } } NewInnerHTML = NewInnerHTML + "</div>";/* end edus-icon */ NewInnerHTML = NewInnerHTML + "<div class=\"edus-title\">"; if(link!=""){ NewInnerHTML = NewInnerHTML + "<a class=\"saot-logging-ignore\" target=\"_blank\" href=\""+link+"\">"+title+"</a>"; }else{ NewInnerHTML = NewInnerHTML + title; } NewInnerHTML = NewInnerHTML + "</div>";/* end edus-title */ NewInnerHTML = NewInnerHTML + "</div>";/* end edus-activity-heading */ if(item_type=="event"){ NewInnerHTML = NewInnerHTML + "<div class=\"edus-activity-section edus-event\">"; if(event_is_all_day==1 && event_start_date!=null){ NewInnerHTML = NewInnerHTML + "<div><span>When:</span> "+EDUS1.getDateString(event_start_date); }else if(event_start_date!=null){ NewInnerHTML = NewInnerHTML + "<div><span>When:</span> "+EDUS1.getDateString(event_start_date)+" "+EDUS1.getTimeString(event_start_date); /**/ if(event_end_date!=null && event_end_date!=event_start_date){ /**/ NewInnerHTML = NewInnerHTML + " - "; if(event_end_date.getYear()!=event_start_date.getYear() || event_end_date.getMonth()!=event_start_date.getMonth() || event_end_date.getDate()!=event_start_date.getDate()){ NewInnerHTML = NewInnerHTML + EDUS1.getDateString(event_end_date)+" "; } NewInnerHTML = NewInnerHTML + EDUS1.getTimeString(event_end_date); } NewInnerHTML = NewInnerHTML + "</div>"; } if(location!=""){ NewInnerHTML = NewInnerHTML + "<div><span>Where:</span> "+location+"</div>"; } NewInnerHTML = NewInnerHTML + "</div>"; } NewInnerHTML = NewInnerHTML + "<div class=\"edus-activity-section edus-activity-content clearfix\">"; NewInnerHTML = NewInnerHTML + "<p class=\"ng-binding\" ng-bind-html-unsafe=\"getContent(activity)\">"+content+"</p>"; NewInnerHTML = NewInnerHTML + "</div>";/* end edus-activity-content */ NewInnerHTML = NewInnerHTML + "<div class=\"edus-activity-section edus-item-links\">"; if(link!=""){ NewInnerHTML = NewInnerHTML + "<div ng-show=\"activity.ucdEdusModel.urlDisplayName\">"; NewInnerHTML = NewInnerHTML + "<a target=\"_blank\" class=\"edus-link ng-binding\" href=\""+link+"\">\ <i class=\"fa fa-external-link fa-fw\"></i> View Details\ </a>"; NewInnerHTML = NewInnerHTML + "</div>"; } if(event_add_to_google_link!="" || event_ical_link!=""){ NewInnerHTML = NewInnerHTML + "<div class=\"calendar-links-list\">"; if(event_add_to_google_link!=""){ NewInnerHTML = NewInnerHTML + "<div><i class=\"fa fa-google fa-fw calendar-links\"></i><a target=\"_new\" class=\"saot-logging-no-external-viewer\" href=\""+event_add_to_google_link+"\">Add to Google calendar</a></div>"; } if(event_ical_link!=""){ /**/ NewInnerHTML = NewInnerHTML + "<div><i class=\"fa fa-calendar fa-fw calendar-links\"></i> <a href=\"javascript:void(0);\" onclick=\"EDUS1.getICalDownload('"+encodeURIComponent(event_ical_link.replace(/\\,/g,",")).replace("'","\\x27").replace("\"","\\x22")+"');\">Download iCal</a></div>"; } NewInnerHTML = NewInnerHTML + "</div>"; } NewInnerHTML = NewInnerHTML + "</div>";/* end edus-item-links */ NewInnerHTML = NewInnerHTML + "<div class=\"edus-activity-section edus-activity-published-info clearfix\">"; NewInnerHTML = NewInnerHTML + "<div class=\"edus-activity-type ng-binding\">"+sourceDisplayName+"</div>"; if(published!=null){ /**/ NewInnerHTML = NewInnerHTML + " - <div class=\"edus-activity-date ng-binding\">" + EDUS1.getDateString(published)+" "+EDUS1.getTimeString(published,"nbsp")+"</div>"; } NewInnerHTML = NewInnerHTML + "</div>";/* end edus-activity-section */ NewInnerHTML = NewInnerHTML + "</div>";/* end edus-activity-item */ } } } var EDUSViewMoreLink = document.getElementById("EDUSViewMoreLink"); if(UCD.SAOT.ASSETS.DATA.EDUS.DATA.length > 0){ EDUSContainer.innerHTML = EDUSContainer.innerHTML + NewInnerHTML; OSS.LOGGING.SetLogging("#EDUSContainer a"); OSS.LOGGING.SetLogging("#EDUSContainer button"); OSS.SPINJS.swapOutSpinner(EDUSViewMoreLink); /**/ $(".edus1 .edus-activity-item.edus-poll form").each(function(){ $(this).on("submit",function(){ $(this).parents(".edus-activity-item").each(function(){ $(this).fadeOut(2000,function(){ $(this).remove(); }); }); }); }); if(UCD.SAOT.ASSETS.DATA.EDUS.DATA.length <= UCD.SAOT.EDUS.NumberOfItemsPerGroup){ if(EDUSViewMoreLink!=null){ if(!$(EDUSViewMoreLink).hasClass("hide")){ $(EDUSViewMoreLink).addClass("hide"); } } } }else{ OSS.SPINJS.swapOutSpinner(EDUSViewMoreLink); if(EDUSViewMoreLink!=null){ if(!$(EDUSViewMoreLink).hasClass("hide")){ $(EDUSViewMoreLink).addClass("hide"); } } } $(".edus1").parents(".module-body").mCustomScrollbar("update"); GRIDDER.SHAPESHIFTJS.ModuleRearrange("edus1"); } } }; } </script> <meta name="description" content=""> <meta name="author" content=""> <!-- Hotjar Tracking Code for https://my.ucdavis.edu/health_and_wellness --> <script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:656315,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); </script> </head> <body class="saot"> <!-- OSS HEADER START --> <div class="saot"> <div id="saot_top_bar" class="saot-top-bar"> <div id="saot_main_heading" class="saot-main-heading"> <a style="position:absolute;top:-1000px;left:0;height:1px;overflow:hidden;" href="#SAOTNavigationEnd">Skip Navigation</a> <div id="SAOTMainHeadingContainer" class="mainHeading"> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar-inner clearfix"> <a href="https://my.ucdavis.edu"><img alt="myucdavis logo" src="https://my.ucdavis.edu/img/my_ucdavis.png"></a> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="nav-collapse collapse"> <ul class="nav main"> <li id="SAOTLoginBar2" class="dropdown"> <a id="SAOTLoggedInContainer2" style="display:none;" href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user icon-white"></i> <div id="SAOTLoggedInTextContainer2"></div> <b class="caret"></b></a> <ul id="SAOTLoggedInMenuContainer2" style="display:none;" class="dropdown-menu"> <div id="SAOTLoggedInMenuInsideMyUCDavis2" class="hide"> <li><a href="https://my.ucdavis.edu/inside_myucdavis">inside myucdavis</a></li> </div> <div id="SAOTLoggedInMenuStudent2" class="hide"> <li><a href="https://my.ucdavis.edu/student_schedule">My Schedule</a></li> <li><a href="https://my.ucdavis.edu/student_records">My Records</a></li> <li><a href="https://my.ucdavis.edu/message_center">My Messages</a></li> <li><a href="https://financialaid.ucdavis.edu/MyAwards" class="saot-logging-no-external-viewer">MyAwards</a></li> <li><a href="https://mybill.ucdavis.edu/">MyBill</a></li> </div> <li><a href="https://cas.ucdavis.edu/cas/logout?service=https%3A%2F%2Fmy%2Eucdavis%2Eedu%2Fincludes%2Flogout%2Ecfm">Not <span id="SAOTLoggedInNotUserTextContainer2"></span>?</a></li> <li><a href="https://cas.ucdavis.edu/cas/logout?service=https%3A%2F%2Fmy%2Eucdavis%2Eedu%2Fincludes%2Flogout%2Ecfm">Sign Out</a></li> </ul> <a id="SAOTLogInTextContainer2" href="https://cas.ucdavis.edu/cas/login?service=https%3A%2F%2Fmy%2Eucdavis%2Eedu%2Flogin%2Findex%2Ecfm%3Fredirect%3DaHR0cHM6Ly9teS51Y2RhdmlzLmVkdS9oZWFsdGhfYW5kX3dlbGxuZXNzL2luZGV4LmNmbQ%3D%3D" class="dropdown-toggle"><i class="icon-user icon-white"></i> Sign in</a> </li> <li id="SAOTHomeItem"><a href="#home">Home</a></li> <li class="dropdown"> <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">Academics <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="https://registrar.ucdavis.edu/calendar" class="saot-logging-no-external-viewer">Academic Calendars</a></li> <li><a href="https://my.ucdavis.edu/academics">Academic Information and Resources</a></li> <li><a href="https://my.ucdavis.edu/academic_advising_resources">Academic Advising</a></li> <li><a href="https://my.ucdavis.edu/learning_and_career_development">Experiential Learning and Career Development</a></li> <li><a href="https://registrar.ucdavis.edu/graduate">Graduation and Commencement</a></li> <li><a href="https://registrar.ucdavis.edu/registration/register-for-classes">Registering for Classes</a></li> <li><a href="https://canvas.ucdavis.edu"><span class="saot-header-lock-icon"><i class="fa fa-lock" style="color: #FFBF00;text-shadow: 0px -1px #C69502;"></i> </span>UC Davis Canvas</a></li> <li><a href="https://my.ucdavis.edu/academic_participation/"><span class="saot-header-lock-icon"><i class="fa fa-lock" style="color: #FFBF00;text-shadow: 0px -1px #C69502;"></i> </span>Academic Participation</a></li> <li><a href="https://students.ucdavis.edu/enter.aspx" class="saot-logging-no-external-viewer"><span class="saot-header-lock-icon"><i class="fa fa-lock" style="color: #FFBF00;text-shadow: 0px -1px #C69502;"></i> </span>OASIS Student Advising</a></li> <li><a href="https://my.ucdavis.edu/schedulebuilder"><span class="saot-header-lock-icon"><i class="fa fa-lock" style="color: #FFBF00;text-shadow: 0px -1px #C69502;"></i> </span>Schedule Builder</a></li> <li><a href="https://my.ucdavis.edu/student_records"><span class="saot-header-lock-icon"><i class="fa fa-lock" style="color: #FFBF00;text-shadow: 0px -1px #C69502;"></i> </span>Student Records</a></li> </ul> </li><li class="dropdown"> <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">Finances and Jobs<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="http://registrar.ucdavis.edu/calendar/fees.cfm">Fees and Deadlines</a></li> <li><a href="https://my.ucdavis.edu/financial_resources">Financial Resources</a></li> <li><a href="https://financialaid.ucdavis.edu/MyAwards" class="saot-logging-no-external-viewer"><span class="saot-header-lock-icon"><i class="fa fa-lock" style="color: #FFBF00;text-shadow: 0px -1px #C69502;"></i> </span>MyAwards</a></li> <li><a href="https://mybill.ucdavis.edu/"><span class="saot-header-lock-icon"><i class="fa fa-lock" style="color: #FFBF00;text-shadow: 0px -1px #C69502;"></i> </span>MyBill</a></li> <li><a href="https://my.ucdavis.edu/undergrad_scholarships">Undergraduate Scholarships</a></li> <li><a href="https://grad.ucdavis.edu/financial-support">Graduate Student Financial Support</a></li> <li><a href="https://my.ucdavis.edu/student_employment_and_payroll">Student Jobs and Payroll</a></li> </ul> </li><li class="dropdown"> <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">Student Life <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="https://my.ucdavis.edu/arts_and_culture">Arts</a></li> <li><a href="https://ucdavisaggies.com/">Athletics</a></li> <li><a href="https://campusrecreation.ucdavis.edu/">Campus Recreation</a></li> <li><a href="https://aggielife.ucdavis.edu/organizations">Clubs and Organizations</a></li> <li><a href="https://my.ucdavis.edu/communities_and_centers">Communities and Centers</a></li> <li><a href="https://diversity.ucdavis.edu/">Diversity, Equity and Inclusion</a></li> <li><a href="https://my.ucdavis.edu/health_and_wellness/index.cfm">Health and Wellness</a></li> <li><a href="https://my.ucdavis.edu/housing/index.cfm">Housing</a></li> <li><a href="https://my.ucdavis.edu/places_to_eat">Places to Eat</a></li> <li><a href="https://my.ucdavis.edu/transportation">Transportation</a></li> </ul> </li> <li class="dropdown"> <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">Resources <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="http://askanaggie.ucdavis.edu">Ask an Aggie</a></li> <li><a href="https://org.ucdavis.edu/directory-search/#/home">Campus Directory</a></li> <li><a href="https://servicehub.ucdavis.edu/servicehub?id=campus_software&ref=5ec4eed5134143003527bd122244b0af&spa=1">Campus Licensed Software</a></li> <li><a href="http://campusmap.ucdavis.edu/">Campus Map</a></li> <li><a href="https://www.ucdavis.edu/about/wellness-safety">Campus Safety</a></li><li><a href="https://iet.ucdavis.edu/support">IT Express Support Resources</a></li> </ul> </li> <li class="dropdown"> <a href="https://my.ucdavis.edu/ask_us">Contact an Expert</a> </li> </ul> <ul class="nav pull-right"> <li id="SAOTLoginBar1" class="dropdown"> <a id="SAOTLoggedInContainer1" style="display:none;" href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user icon-white"></i> <div id="SAOTLoggedInTextContainer1"></div> <b class="caret"></b></a> <ul id="SAOTLoggedInMenuContainer" style="display:none;" class="dropdown-menu"> <div id="SAOTLoggedInMenuInsideMyUCDavis1" class="hide"> <li><a href="https://my.ucdavis.edu/inside_myucdavis">inside myucdavis</a></li> </div> <div id="SAOTLoggedInMenuStudent1" class="hide"> <li><a href="https://my.ucdavis.edu/student_schedule">My Schedule</a></li> <li><a href="https://my.ucdavis.edu/student_records">My Records</a></li> <li><a href="https://my.ucdavis.edu/message_center">My Messages</a></li> <li><a href="https://financialaid.ucdavis.edu/MyAwards" class="saot-logging-no-external-viewer">MyAwards</a></li> <li><a href="https://mybill.ucdavis.edu/">MyBill</a></li> </div> <li><a href="https://cas.ucdavis.edu/cas/logout?service=https%3A%2F%2Fmy%2Eucdavis%2Eedu%2Fincludes%2Flogout%2Ecfm">Not <span id="SAOTLoggedInNotUserTextContainer1"></span>?</a></li> <li><a href="https://cas.ucdavis.edu/cas/logout?service=https%3A%2F%2Fmy%2Eucdavis%2Eedu%2Fincludes%2Flogout%2Ecfm">Sign Out</a></li> </ul> <a id="SAOTLogInTextContainer1" href="https://cas.ucdavis.edu/cas/login?service=https%3A%2F%2Fmy%2Eucdavis%2Eedu%2Flogin%2Findex%2Ecfm%3Fredirect%3DaHR0cHM6Ly9teS51Y2RhdmlzLmVkdS9oZWFsdGhfYW5kX3dlbGxuZXNzL2luZGV4LmNmbQ%3D%3D" class="dropdown-toggle"><i class="icon-user icon-white"></i> Sign in</a> </li> </ul> </div> </div> </div> </div> <noscript> <div class="NoJavaScript" style="margin:25px 25px 25px 25px;"> Warning: JavaScript is not enabled in this web browser. This web page requires that JavaScript be enabled to operate properly. Please enable JavaScript now or use a different web browser before continuing. <a href="https://my.ucdavis.edu/includes/HowToEnableJavaScript.cfm?request.HeaderUserDisplayName=">How do I enable JavaScript?</a> </div> </noscript> <a name="SAOTNavigationEnd"></a> </div> </div> </div> <!-- OSS HEADER END --> <!-- ================================================== --> <!-- Secondary Content Row --> <div class="row-fluid"> <div class="span8"> <div class="subContent"> <h1>Health and Wellness</h1> <div class="rolodexGrid"> <div class="item clearfix"> <h2>Aggie Compass Basic Needs Center</h2> <p>The <a href="https://aggiecompass.ucdavis.edu/mental-wellness">Aggie Compass Basic Needs Center</a> helps students by providing access to nutritious food and assistance applying for CalFresh and other social services. It also provides economic crisis resources, case management and immediate shelter and support for unhoused students. </p> </div> <div class="item clearfix"> <h2>Aggie Mental Health</h2> <p>The <a href="https://mentalhealth.ucdavis.edu/">Aggie Mental Health</a> website is a one-stop-shop for student mental health resources. It is meant to be utilized by students, staff and faculty to collectively raise awareness about mental health. If you need urgent mental health support, please visit the "I Need Help" page to review your options.</p> </div> <div class="item clearfix"> <h2>Center for Advocacy, Resources, and Education (CARE) Confidential Resource</h2> <p>If you or someone close to you has experienced sexual harassment or any form of sexual violence, <a href="https://care.ucdavis.edu/">CARE</a> advocates provide confidential help with processing emotions, going over reporting options, resource referral and more.</p> </div> <div class="item clearfix"> <h2>Harassment & Discrimination Assistance and Prevention Program (HDAPP)</h2> <p><a href="https://hdapp.ucdavis.edu/">HDAPP</a> supports the university's commitment to a discrimination-free work and learning environment by preventing harassment and discrimination from occurring at UC Davis through education, assisting individuals and campus units to resolve conflicts and complaints related to harassment, discrimination, sexual harassment, sexual violence and hate and bias and serving as the central office for receiving reports and maintaining records of these types of complaints. </p> </div> <div class="item clearfix"> <h2>Health 34</h2> <p><a href="https://fire.ucdavis.edu/health34">Health 34</a> is a team of healthcare educators and providers who will deliver free, non-emergency support and service navigation for mental health and basic medical care to every segment of the UC Davis campus. </p> </div> <div class="item clearfix"> <h2>Office of Student Support and Judicial Affairs (OSSJA)</h2> <p><a href="https://ossja.ucdavis.edu/">OSSJA</a> supports the University's educational mission by upholding standards of academic honesty and responsible behavior, promoting student development and assisting students in need. Case Management support is available to students who are facing difficult times in life which are impeding their holistic success. Case managers connect students to resources and support across campus and in the surrounding community to promote their safety, academic persistence and overall well being.</p> </div> <div class="item clearfix"> <h2>Ombuds Office Confidential Resource</h2> <p> The <a href="https://ombuds.ucdavis.edu/">Ombuds Office</a> is a confidential, independent, impartial and informal problem-solving and conflict management resource for all members of the UC Davis, UC Davis Health and UC ANR communities. The Ombuds can assist by listening to concerns, clarifying issues, identifying policies and resources and providing coaching and communication strategies.</p> </div> <div class="item clearfix"> <h2>Police Department</h2> <p>Beyond crime prevention and law enforcement, the <a href="https://police.ucdavis.edu/">UC Davis Police Department</a> provides safety and security services to UC Davis. UC Davis established an independent <a href="https://pab.ucdavis.edu/" target="_blank">Police Accountability Board</a> in 2014 — one of the first of its kind in the country. Students, faculty and staff serve on the board to review investigations of police conduct and make recommendations to the police chief. </p> </div> <div class="item clearfix"> <h2>Report Hate and Bias</h2> <p>Hate and bias have no place at UC Davis. If you have experienced or witnessed an incident of hate or bias or discrimination or harassment, there are resources available for you. <a href="https://reporthateandbias.ucdavis.edu/">This page</a> offers you resources you can talk to confidentially as well as directions on how to report hate and bias to the university.</p> </div> <div class="item clearfix"> <h2>Sexual Violence Prevention and Response</h2> <p><a href="https://sexualviolence.ucdavis.edu/">This website</a> has information on how to report sexual violence or sexual harassment, resources to support a friend or loved one and information on being a responsible employee.</p> </div> <div class="item clearfix"> <h2>Stop Hazing</h2> <p>The <a href="https://stophazing.ucdavis.edu/">Stop Hazing website</a> was created to educate about issues related to hazing, to provide support and resources for students who are being hazed and to empower our entire community to identify and report hazing whenever and wherever it may occur.</p> </div> <div class="item clearfix"> <h2>Student Health and Counseling Services (SHCS)</h2> <p>The <a href="https://shcs.ucdavis.edu/">Student Health and Counseling Services (SHCS)</a> unit provides medical and counseling services to all registered students regardless of insurance coverage. Additionally, mental health providers at Student Health and Counseling Services offer confidential counseling and are not required to report incidents of sexual violence to the university.</p> </div> <div class="item clearfix"> <h2>WorkLife</h2> <p>The <a href="https://worklife-wellness.ucdavis.edu/departments/worklife-wellness">WorkLife department</a> at UC Davis provides programs, policies, referrals and education that enable employees and students to be effective at work, school and home. It encompasses dependent care and family services, recognition, engagement, workplace well-being and workplace flexibility.</p> <a href="https://worklife-wellness.ucdavis.edu/departments/worklife-wellness">Button</a> </div> </div> </div> <!-- /subContent --> <div class="footerSub"> <a href="/grid1/feedback/index.cfm" class="feedback"> <span style="display:none;">We want your Feedback</span></a> <p id="site_footer_content"><a href="http://www.ucdavis.edu"><img alt="UC Davis Logo" src="/img/ucdavis.png" /><span style="display:none;">Link to UC Davis Website</span></a><br /> <span class="footerLinks"> <a href="/index.cfm">myucdavis for faculty/staff</a><a href="http://www.ucdavis.edu">UC Davis home</a><a href="http://studentlife.ucdavis.edu">UC Davis Student Life</a> </span> </p> <span id="site_footer_copyright" style="margin:10px;font-size:.8em">© 2024 The Regents of the University of California</span> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-44162989-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-44162989-1'); </script> <!-- OSS FOOTER START --> <script type="text/javascript"> try{ /*check for browser compatibility and display an alert if needed*/ UCD.SAOT.BROWSER.getBrowserDetails(); UCD.SAOT.BROWSER.browserCompatibilityCheck(); /*adjust fixed secondary navigation if needed*/ //UCD.SAOT.jQuery(window).on("resize",UCD.SAOT.SubHeadingAdjustment); UCD.SAOT.jQuery(window).on("resize",UCD.SAOT.SAOTTopBarAdjustment); //UCD.SAOT.SubHeadingAdjustment(); UCD.SAOT.SAOTTopBarAdjustment(); /*adjust dropdowns for touch devices so the menus will scroll properly*/ UCD.SAOT.jQuery(document).ready(function(){ UCD.SAOT.jQuery('.saot .navbar li.dropdown a.dropdown-toggle').on('touchstart', function(e) { e.stopPropagation(); }); }); /*adjust the login name if too long*/ var SAOTLoggedInTextContainer1Element = document.getElementById("SAOTLoggedInTextContainer1"); if(OSS.HeaderShowStaffItems=="1"){ if(SAOTLoggedInTextContainer1Element != null && SAOTLoggedInTextContainer1Element.innerHTML != null && SAOTLoggedInTextContainer1Element.innerHTML.length != null && SAOTLoggedInTextContainer1Element.innerHTML.length > 20){ SAOTLoggedInTextContainer1Element.innerHTML = SAOTLoggedInTextContainer1Element.innerHTML.substr(0,17) + "..."; } }else{ if(SAOTLoggedInTextContainer1Element != null && SAOTLoggedInTextContainer1Element.innerHTML != null && SAOTLoggedInTextContainer1Element.innerHTML.length != null && SAOTLoggedInTextContainer1Element.innerHTML.length > 22){ SAOTLoggedInTextContainer1Element.innerHTML = SAOTLoggedInTextContainer1Element.innerHTML.substr(0,19) + "..."; } } /*if(SAOTLoggedInTextContainer1Element != null && SAOTLoggedInTextContainer1Element.innerHTML != null && SAOTLoggedInTextContainer1Element.innerHTML.length != null && SAOTLoggedInTextContainer1Element.innerHTML.length > 22){ SAOTLoggedInTextContainer1Element.innerHTML = SAOTLoggedInTextContainer1Element.innerHTML.substr(0,19) + "..."; }*/ /*adjust anchors with the class "anchor" to offset below the navigation when the navigation is fixed to the viewport, so the anchors are not hidden behind the naviation*/ /*UCD.SAOT.jQuery(".saot .mainHeading").first().each(function(){ var mainHeadingUnfixed = 0; if(UCD.SAOT.jQuery(this).hasClass("unfix")){ mainHeadingUnfixed = 1; } var subHeadingUnfixed = 1; UCD.SAOT.jQuery(".saot .subHeading").first().each(function(){ if(!UCD.SAOT.jQuery(this).hasClass("unfix")){ subHeadingUnfixed = 0; } }); if(mainHeadingUnfixed == 0 && subHeadingUnfixed == 0){ UCD.SAOT.jQuery(".saot a.anchor").each(function(){ this.style.position = "relative"; this.style.top = "-125px"; }); }else if(mainHeadingUnfixed == 0 && subHeadingUnfixed == 1){ UCD.SAOT.jQuery(".saot a.anchor").each(function(){ this.style.position = "relative"; this.style.top = "-65px"; }); } });*/ //UCD.SAOT.LOGGING.setLinkLogging({"topLevelObject":UCD.SAOT.jQuery(".saot")[0]}); }catch(e){ UCD.SAOT.ASSETS.errorHandler({"errorObject":e}); } var casloggedin = false; if(casloggedin){ $.ajax({ "type": "POST", "url": '/grid1/api/bkg/index.cfm', "dataType": "json", "cache":false, "data": { "loadBkg": true, }, "success": function(data) { if( data.SRC != false || data.PATTERN != false ){ if(!data.PATTERN){ $('body.saot').css({ 'background-image': 'url("'+data.SRC+'")', 'background-color': '#ddd', 'background-size': 'cover', 'background-attachment': 'fixed', 'background-repeat': 'no-repeat', 'background-position': 'center' }); }else{ $('body.saot').css({ 'background-image': 'url('+data.SRC+')', 'background-repeat':'repeat', 'background-size':'auto', 'background-attachment':'scroll', 'background-position':'0% 0%' }); } } } }); } </script> <!-- OSS FOOTER END --> </div> <!-- /footer --> </div> <!-- /span8 --> <div class="span4"> <div class="subSideNav"> <div class="eduSub"> <link href="https://aggiefeed.ucdavis.edu/css/embed-v2.min.css" rel="stylesheet"> <style> .edus1 {} #edus1_container .module-body { max-height:400px; overflow:auto; } #edus1_edus_container { min-height:55px; } .edus1 .edus-load-more { width:auto; } .edus1 .edus-activity-event span { display:inline; } .edus1 .edus-activity { padding:10px; } /*some adjustments so event time information displays ok on smaller displays*/ @media (max-width:1140px){ .edus1 .edus-activity-event span { font-size:12px; } } </style> <div class="saot edus1"> <h2 class="title"> <i id="edus1_icon" class="oss-icons oss-icon-feed"></i> <a href="http://aggiefeed.ucdavis.edu?auth=1" class="saot-logging-no-external-viewer">Aggie Feed</a> </h2> <div class="edus-body"> <div id="edus1_edus_container" data-aggiefeed data-auth data-activity-actions data-activity-action-event data-num-activities="7" data-activity-icon="custom" data-content-limit="140" data-event-selector="#edus1_edus_container" data-event-name="edus-container-content-update" data-no-activities-message="No posts available at this time" ></div> </div> </div> <script type="text/javascript" src="https://aggiefeed.ucdavis.edu/js/embed-v2.min.js"></script> <script type="text/javascript"> aggieFeed.init({"dataLoadingSpinnerOff":true}); OSS.SPINJS.swapInSpinner($("#edus1_edus_container .edus-spinner")[0],"#c99700"); $(".edus1 #edus1_edus_container").on("edus-container-content-update",function(){ //remove the spinner $("#edus1_edus_container .edus-spinner")[0].innerHTML = ""; }); </script> </div> </div> </div> </div> <script type="text/javascript" src="/l/jscrollpane/script/jquery.mousewheel.js"></script> <script type="text/javascript" src="/l/jscrollpane/script/mwheelIntent.js"></script> <script type="text/javascript" src="/l/jscrollpane/script/jquery.jscrollpane.min.js"></script> <script type="text/javascript"> $(function() { $('.scroll-pane').jScrollPane(); $('.scroll-pane-arrows').jScrollPane( { showArrows: true, horizontalGutter: 10 ,autoReinitialise:true } ); }); </script> <script type="text/javascript"> //UCD.SAOT.EDUS.grabEDUSItems(); UCD.SAOT.ImportantAlerts.getImportantAlerts({"onLoadFunction":function(){ var EDUSContainer = document.getElementById("EDUSContainer"); if(EDUSContainer!=null){ UCD.SAOT.EDUS.grabEDUSItems(); } }}); function defaultSideNav(){ var OSSsearchAccordion=document.getElementById("OSSsearchAccordion"); var mobSubNav=document.getElementById("mobSubNav"); if(UCD.SAOT.jQuery(window).outerWidth() > 767){ if(mobSubNav!=null){ if(!UCD.SAOT.jQuery(mobSubNav).hasClass("hide")){ UCD.SAOT.jQuery(mobSubNav).addClass("hide"); } } if(OSSsearchAccordion!=null){ if(UCD.SAOT.jQuery(OSSsearchAccordion).hasClass("hide")){ UCD.SAOT.jQuery(OSSsearchAccordion).removeClass("hide"); } } }else{ if(mobSubNav!=null){ if(UCD.SAOT.jQuery(mobSubNav).hasClass("hide")){ UCD.SAOT.jQuery(mobSubNav).removeClass("hide"); } } if(OSSsearchAccordion!=null){ if(!UCD.SAOT.jQuery(OSSsearchAccordion).hasClass("hide")){ UCD.SAOT.jQuery(OSSsearchAccordion).addClass("hide"); } } } } var mobSubNav=document.getElementById("mobSubNav"); if(mobSubNav!=null){ if(!UCD.SAOT.jQuery(mobSubNav).hasClass("hide")){ UCD.SAOT.jQuery(mobSubNav).addClass("hide"); } } function adjustScheduleContent(){ //noFloat var ContainerWidth = $(".scroll-pane-arrows").first().width(); //alert(ContainerWidth); if(ContainerWidth < 225){ $(".schedData .row-fluid div").each(function(){ if(!$(this).hasClass("noFloat")){ $(this).addClass("noFloat"); } if($(this).hasClass("saot-offset1") && $(this).hasClass("offset1")){ $(this).removeClass("offset1"); } //alert(ContainerWidth); }); }else{ $(".schedData .row-fluid div").each(function(){ if($(this).hasClass("noFloat")){ $(this).removeClass("noFloat"); } if($(this).hasClass("saot-offset1") && !$(this).hasClass("offset1")){ $(this).addClass("offset1"); } }); } } adjustScheduleContent(); UCD.SAOT.jQuery(window).on("resize",adjustScheduleContent); function scheduleTermUpdate(ThisObject){ var myTerm = ThisObject.value; var myUser = ''; var myPIDM = ''; loadSchedule(myTerm,myUser,myPIDM); } function loadSchedule(t,u,p) { var status = $.ajax({ // the location of the cfm url: "/includes/getScheduleResults.cfm?userID="+u+"&pidm="+p+"&term="+t // send a GET HTTP operation , type: "get" // tell jQuery we're getting JSON back , dataType: "html" // send the checklist var stringify is cool // this gets the data returned on success , success: function (data){ $(".myScheduleResults").each(function(){ this.innerHTML = data; }); $('#collapseOne').collapse('show'); } //success // this runs if an error , error: function (xhr, textStatus, errorThrown){ // show error alert(errorThrown); } // error }); // ajax } OSS.LOGGING.SetLogging(".saot a"); </script> <!-- OSS FOOTER START --> <script type="text/javascript"> try{ /*check for browser compatibility and display an alert if needed*/ UCD.SAOT.BROWSER.getBrowserDetails(); UCD.SAOT.BROWSER.browserCompatibilityCheck(); /*adjust fixed secondary navigation if needed*/ //UCD.SAOT.jQuery(window).on("resize",UCD.SAOT.SubHeadingAdjustment); UCD.SAOT.jQuery(window).on("resize",UCD.SAOT.SAOTTopBarAdjustment); //UCD.SAOT.SubHeadingAdjustment(); UCD.SAOT.SAOTTopBarAdjustment(); /*adjust dropdowns for touch devices so the menus will scroll properly*/ UCD.SAOT.jQuery(document).ready(function(){ UCD.SAOT.jQuery('.saot .navbar li.dropdown a.dropdown-toggle').on('touchstart', function(e) { e.stopPropagation(); }); }); /*adjust the login name if too long*/ var SAOTLoggedInTextContainer1Element = document.getElementById("SAOTLoggedInTextContainer1"); if(OSS.HeaderShowStaffItems=="1"){ if(SAOTLoggedInTextContainer1Element != null && SAOTLoggedInTextContainer1Element.innerHTML != null && SAOTLoggedInTextContainer1Element.innerHTML.length != null && SAOTLoggedInTextContainer1Element.innerHTML.length > 20){ SAOTLoggedInTextContainer1Element.innerHTML = SAOTLoggedInTextContainer1Element.innerHTML.substr(0,17) + "..."; } }else{ if(SAOTLoggedInTextContainer1Element != null && SAOTLoggedInTextContainer1Element.innerHTML != null && SAOTLoggedInTextContainer1Element.innerHTML.length != null && SAOTLoggedInTextContainer1Element.innerHTML.length > 22){ SAOTLoggedInTextContainer1Element.innerHTML = SAOTLoggedInTextContainer1Element.innerHTML.substr(0,19) + "..."; } } /*if(SAOTLoggedInTextContainer1Element != null && SAOTLoggedInTextContainer1Element.innerHTML != null && SAOTLoggedInTextContainer1Element.innerHTML.length != null && SAOTLoggedInTextContainer1Element.innerHTML.length > 22){ SAOTLoggedInTextContainer1Element.innerHTML = SAOTLoggedInTextContainer1Element.innerHTML.substr(0,19) + "..."; }*/ /*adjust anchors with the class "anchor" to offset below the navigation when the navigation is fixed to the viewport, so the anchors are not hidden behind the naviation*/ /*UCD.SAOT.jQuery(".saot .mainHeading").first().each(function(){ var mainHeadingUnfixed = 0; if(UCD.SAOT.jQuery(this).hasClass("unfix")){ mainHeadingUnfixed = 1; } var subHeadingUnfixed = 1; UCD.SAOT.jQuery(".saot .subHeading").first().each(function(){ if(!UCD.SAOT.jQuery(this).hasClass("unfix")){ subHeadingUnfixed = 0; } }); if(mainHeadingUnfixed == 0 && subHeadingUnfixed == 0){ UCD.SAOT.jQuery(".saot a.anchor").each(function(){ this.style.position = "relative"; this.style.top = "-125px"; }); }else if(mainHeadingUnfixed == 0 && subHeadingUnfixed == 1){ UCD.SAOT.jQuery(".saot a.anchor").each(function(){ this.style.position = "relative"; this.style.top = "-65px"; }); } });*/ //UCD.SAOT.LOGGING.setLinkLogging({"topLevelObject":UCD.SAOT.jQuery(".saot")[0]}); }catch(e){ UCD.SAOT.ASSETS.errorHandler({"errorObject":e}); } var casloggedin = false; if(casloggedin){ $.ajax({ "type": "POST", "url": '/grid1/api/bkg/index.cfm', "dataType": "json", "cache":false, "data": { "loadBkg": true, }, "success": function(data) { if( data.SRC != false || data.PATTERN != false ){ if(!data.PATTERN){ $('body.saot').css({ 'background-image': 'url("'+data.SRC+'")', 'background-color': '#ddd', 'background-size': 'cover', 'background-attachment': 'fixed', 'background-repeat': 'no-repeat', 'background-position': 'center' }); }else{ $('body.saot').css({ 'background-image': 'url('+data.SRC+')', 'background-repeat':'repeat', 'background-size':'auto', 'background-attachment':'scroll', 'background-position':'0% 0%' }); } } } }); } </script> <!-- OSS FOOTER END --> <!-- Le javascript ================================================== --> </body> </html>