You are here: Home / Departments / Libraries / documents / library events snippet

library events snippet


<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script> <div id="adx080611">Loading Events...</div> <script type="text/javascript">if (typeof jQuery != 'undefined') { jQuery(document).ready(function () { var adx="Events are temporarily unavailable. Please check back later."; jQuery.ajax({ dataType: 'script', url: 'http://calendar.activedatax.com/cnm/EventListSyndicator.aspx?type=N&number=50&category=33-0&ics=Y&adpid=8&nem=There+are+no+library+events+currently+posted.&sortorder=ASC&ver=2.0&target=adx080611' });setTimeout(function() {if(typeof response=='undefined'){jQuery('#adx080611').html(adx);}}, 5000); });}else { document.getElementById('adx080611').innerHTML = 'Events are temporarily unavailable because the jQuery library cannot be located.'; }</script>