{"id":113,"date":"2014-05-09T22:11:21","date_gmt":"2014-05-09T22:11:21","guid":{"rendered":"http:\/\/protasis.net\/blog2014\/?page_id=113"},"modified":"2014-06-01T07:28:51","modified_gmt":"2014-06-01T07:28:51","slug":"calendar","status":"publish","type":"page","link":"http:\/\/protasis.net\/blog2014\/?page_id=113","title":{"rendered":"Calendar"},"content":{"rendered":"<div class=\"flex_column av_two_third  flex_column_div first  \" ><section class=\"av_textblock_section\"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock '   itemprop=\"text\" ><h3>Protasis Events<\/h3>\n  <input type=\"hidden\" id=\"cal_width1\" value=\"700\" \/> \n  <div id='bigcalendar1'><\/div>\n  <script> \n    var tb_pathToImage = \"http:\/\/protasis.net\/blog2014\/wp-content\/plugins\/spider-event-calendar\/images\/loadingAnimation.gif\";\n    var tb_closeImage = \"http:\/\/protasis.net\/blog2014\/wp-content\/plugins\/spider-event-calendar\/images\/tb-close.png\"\n\tvar randi;\n    if (typeof showbigcalendar != 'function') {\t\n      function showbigcalendar(id, calendarlink, randi, widget) {\n        var xmlHttp;\n        try {\n          xmlHttp = new XMLHttpRequest();\/\/ Firefox, Opera 8.0+, Safari\n        }\n        catch (e) {\n          try {\n            xmlHttp = new ActiveXObject(\"Msxml2.XMLHTTP\"); \/\/ Internet Explorer\n          }\n          catch (e) {\n            try {\n              xmlHttp = new ActiveXObject(\"Microsoft.XMLHTTP\");\n            }\n            catch (e) {\n              alert(\"No AJAX!?\");\n              return false;\n            }\n          }\n        }\n        xmlHttp.onreadystatechange = function () {\n          if (xmlHttp.readyState == 4) {\n            \/\/ document.getElementById(id).innerHTML = xmlHttp.responseText;\n            jQuery('#' + id).html(xmlHttp.responseText);\n          }\n        }\n        xmlHttp.open(\"GET\", calendarlink, false);\n        xmlHttp.send();\n\t jQuery(document).ready(function (){\n\t  jQuery('#views_select').toggle(function () {\t\n\t\tjQuery('#drop_down_views').stop(true, true).delay(200).slideDown(500);\n\t\tjQuery('#views_select .arrow-down').addClass(\"show_arrow\");\n\t\tjQuery('#views_select .arrow-right').removeClass(\"show_arrow\");\n\t  }, function () { \n\t\tjQuery('#drop_down_views').stop(true, true).slideUp(500);\n\t\tjQuery('#views_select .arrow-down').removeClass(\"show_arrow\");\n\t\tjQuery('#views_select .arrow-right').addClass(\"show_arrow\");\t\t\n\t  });\n\t});\nif(widget!=1)\n{\n\tjQuery('drop_down_views').hide();\n\tvar parent_width = document.getElementById('bigcalendar'+randi).parentNode.clientWidth;\n\tvar calwidth=  document.getElementById('cal_width'+randi).value;\n\tvar responsive_width = (calwidth)\/parent_width*100;\n\tdocument.getElementById('bigcalendar'+randi).setAttribute('style','width:'+responsive_width+'%;');\n\tjQuery('pop_table').css('height','100%');\n}\n        var thickDims, tbWidth, tbHeight;\n        jQuery(document).ready(function ($) {\t\t\t\n\t\t setInterval(function(){\t\n\t\t\t\tif(jQuery(\"body\").hasClass(\"modal-open\")) jQuery(\"html\").addClass(\"thickbox_open\");\n\t\t\t\telse jQuery(\"html\").removeClass(\"thickbox_open\");\n\t\t\t},500);\t\t\t\n          thickDims = function () {\t\t\n             var tbWindow = jQuery('#TB_window'), H = jQuery(window).height(), W = jQuery(window).width(), w, h;\n            if (tbWidth) {\n              if (tbWidth < (W - 90)) w = tbWidth; else  w = W - 200;\n            } else w = W - 200;\n            if (tbHeight) {\n              if (tbHeight < (H - 90)) h = tbHeight; else  h = H - 200;\n            } else h = H - 200;\t\t\t\n            if (tbWindow.size()) {\n              tbWindow.width(w).height(h);\n              jQuery('#TB_iframeContent').width(w).height(h - 27);\n              tbWindow.css({'margin-left':'-' + parseInt((w \/ 2), 10) + 'px'});\n              if (typeof document.body.style.maxWidth != 'undefined')\n                tbWindow.css({'top':(H - h) \/ 2, 'margin-top':'0'});\n            }\n\t\t\t if(jQuery(window).width() < 768 ){\n\t\t\t  var tb_left = parseInt((w \/ 2), 10) + 20;\t\t  \n\t\t\t\tjQuery('#TB_window').css({\"left\": tb_left+ \"px\", \"width\": \"90%\", \"margin-top\": \"-13%\",\"height\": \"100%\"})\n\t\t\t\tjQuery('#TB_window iframe').css({'height':'100%', 'width':'100%'});\n\t\t\t}\n\t\t\t else jQuery('#TB_window').css('left','50%');\n\t\tif (typeof popup_width_from_src != \"undefined\") {\n\t\t\t\tpopup_width_from_src=jQuery('.thickbox-previewbigcalendar'+randi).attr('href').indexOf('tbWidth=');\n\t\t\t\tstr=jQuery('.thickbox-previewbigcalendar'+randi).attr('href').substr(popup_width_from_src+8,150)\n\t\t\t\tfind_amp=str.indexOf('&');\n\t\t\t\twidth_orig=str.substr(0,find_amp);\t\t\t\t\n\t\t\t\tfind_eq=str.indexOf('=');\n\t\t\t\theight_orig=str.substr(find_eq+1,5);\n\t\t\tjQuery('#TB_window').css({'max-width':width_orig+'px', 'max-height':height_orig+'px'});\n\t\t\tjQuery('#TB_window iframe').css('max-width',width_orig+'px');\n\t\t\t}\t\n          };\n          thickDims();\n          jQuery(window).resize(function () {\n            thickDims();\t\t\t\n\t\t  });\t\t  \n          jQuery('a.thickbox-preview' + id).click(function () {\n            tb_click.call(this);\n            var alink = jQuery(this).parents('.available-theme').find('.activatelink'), link = '', href = jQuery(this).attr('href'), url, text;\n            var reg_with = new RegExp(xx_cal_xx + \"tbWidth=[0-9]+\");\t\n            if (tbWidth = href.match(reg_with))\n              tbWidth = parseInt(tbWidth[0].replace(\/[^0-9]+\/g, ''), 10);\n            else\n              tbWidth = jQuery(window).width() - 90;\t\t\t  \n            var reg_heght = new RegExp(xx_cal_xx + \"tbHeight=[0-9]+\");\n            if (tbHeight = href.match(reg_heght))\n              tbHeight = parseInt(tbHeight[0].replace(\/[^0-9]+\/g, ''), 10);\n            else\n              tbHeight = jQuery(window).height() - 60;\n            jQuery('#TB_ajaxWindowTitle').css({'float':'right'}).html(link);\t\t\t\n            thickDims();\t\t\t\n            return false;\t\t\t\n          });\n\t\t  \n        });\n      }\n    }\t\n    document.onkeydown = function (evt) {\n      evt = evt || window.event;\n      if (evt.keyCode == 27) {\n        document.getElementById('sbox-window').close();\n      }\n    };\n     showbigcalendar('bigcalendar1', 'http:\/\/protasis.net\/blog2014\/wp-admin\/admin-ajax.php?action=spiderbigcalendar_month&theme_id=13&calendar=2&select=month,list,week,day,&date=2014-05&months&many_sp_calendar=1&cur_page_url=http%3A%2F%2Fprotasis.net%2Fblog2014%2F%3Fpage_id%3D113&widget=0&rand=1','1','0');<\/script>\n<style>\nhtml.thickbox_open{\n\toverflow: hidden;\n}\n#TB_window iframe{\n\tmargin-left: 0;\n\tmargin-top: 0;\n\tpadding-left: 0;\n\tpadding-top: 0;\n}\n\n#TB_iframeContent{\n\theight: 100% !important;\n\twidth: 100%;\n}\n#TB_window{\n\tz-index: 1000000;\n\tcolor: #dfdfdf;\n\ttop: 100px !important;\n}\n#TB_title{\n\tbackground: #222;\n}\n\n.screen-reader-text,\n#views_select .arrow-down,\n#views_select .arrow-right{\n\tdisplay: none;\n}\n\n#afterbig1{\n\tdisplay: block !important;\n}\n\n#afterbig1 li{\n\tlist-style: none;\n}\n#bigcalendar1 p{\n\tmargin: 0;\n\tpadding: 0;\n}\n\n#bigcalendar1 table{\n\ttable-layout: auto;\n}\n\n.general_table a,\n.last_table a,\n.week_list a,\n.day_ev a{\n\tborder: 0;\n}\n\n.show_arrow{\n\tdisplay: inline-block !important;\n}\n@media screen and (max-width: 768px) {\n\t#bigcalendar1 #cal_event p:not(.ev_name){\n\t\t display: block; \/* Fallback for non-webkit *\/\n\t\t display: -webkit-box;\n\t\t max-width: 400px;\n\t\t height: 32px; \/* Fallback for non-webkit *\/\n\t\t margin: 0 auto;\n\t\t font-size: 13px;\n\t\t line-height: 15px;\n\t\t -webkit-line-clamp: 2;\n\t\t -webkit-box-orient: vertical;\n\t\t overflow: hidden;\n\t\t text-overflow: ellipsis;\n\t}\n\tdiv#afterbig1{\n\t\twidth: 100% !important;\n\t\tmargin: 0;\n\t}\n\t#bigcalendar1 .cala_day{\n\t\tmax-width: 37px;\n\t}\n}\n<\/style>\n  \n<\/div><\/section><\/div>\n<div class=\"flex_column av_one_third  flex_column_div   \" ><p><div style='padding-bottom:10px;' class='av-special-heading av-special-heading-h3   '><h3 class='av-special-heading-tag'  itemprop=\"headline\"  >Past eSeminars<\/h3><div class='special-heading-border'><div class='special-heading-inner-border' ><\/div><\/div><\/div><br \/>\n<div  class='avia-video avia-video-16-9  '  itemprop=\"video\" itemtype=\"https:\/\/schema.org\/VideoObject\" ><div class='avia-iframe-wrap'><iframe width=\"1333\" height=\"1000\" src=\"https:\/\/www.youtube.com\/embed\/IfPjPfIUcBY?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/div><\/div><\/p>\n<section class=\"av_textblock_section\"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock '   itemprop=\"text\" ><p class=\"yt\"><strong><span id=\"eow-title\" class=\"watch-title long-title yt-uix-expander-head\" dir=\"ltr\" title=\"Dr Dean Olson - OneMinuteNMR(tm) in the Undergraduate Teaching Lab\">Dr. Dean Olson\u00a0 &#8211;\u00a0 <\/span><span id=\"eow-title\" class=\"watch-title long-title yt-uix-expander-head\" dir=\"ltr\" title=\"Dr Dean Olson - OneMinuteNMR(tm) in the Undergraduate Teaching Lab\">UIUC (Urbana)<\/span><span id=\"eow-title\" class=\"watch-title long-title yt-uix-expander-head\" dir=\"ltr\" title=\"Dr Dean Olson - OneMinuteNMR(tm) in the Undergraduate Teaching Lab\"><br \/>\n<\/span><\/strong><\/p>\n<p class=\"yt\"><em><span id=\"eow-title\" class=\"watch-title long-title yt-uix-expander-head\" dir=\"ltr\" title=\"Dr Dean Olson - OneMinuteNMR(tm) in the Undergraduate Teaching Lab\">One-Minute NMR<\/span><span id=\"eow-title\" class=\"watch-title long-title yt-uix-expander-head\" dir=\"ltr\" title=\"Dr Dean Olson - OneMinuteNMR(tm) in the Undergraduate Teaching Lab\"> <\/span><span id=\"eow-title\" class=\"watch-title long-title yt-uix-expander-head\" dir=\"ltr\" title=\"Dr Dean Olson - OneMinuteNMR(tm) in the Undergraduate Teaching Lab\">in the Undergraduate Teaching Lab<\/span><\/em><\/p>\n<\/div><\/section><br \/>\n<div  class='avia-video avia-video-16-9  '  itemprop=\"video\" itemtype=\"https:\/\/schema.org\/VideoObject\" ><div class='avia-iframe-wrap'><iframe width=\"1333\" height=\"1000\" src=\"https:\/\/www.youtube.com\/embed\/TYa5EcbjvLM?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/div><\/div><\/p>\n<section class=\"av_textblock_section\"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock '   itemprop=\"text\" ><p><strong><span id=\"eow-title\" class=\"watch-title long-title yt-uix-expander-head\" dir=\"ltr\" title=\"Dr Tom O'Connell - Applications of Micro-Scale NMR for Metabolomics\">Dr Tom O&#8217;Connell\u00a0 &#8211;\u00a0 UNC (Chapel Hill) <\/span><\/strong><\/p>\n<p><em><span id=\"eow-title\" class=\"watch-title long-title yt-uix-expander-head\" dir=\"ltr\" title=\"Dr Tom O'Connell - Applications of Micro-Scale NMR for Metabolomics\">Applications of Micro-Scale NMR for Metabolomics<\/span><\/em><\/p>\n<\/div><\/section><\/div>\n<section class=\"av_textblock_section\"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock '   itemprop=\"text\" ><p>Click here to add your own text<\/p>\n<\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/protasis.net\/blog2014\/index.php?rest_route=\/wp\/v2\/pages\/113"}],"collection":[{"href":"http:\/\/protasis.net\/blog2014\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/protasis.net\/blog2014\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/protasis.net\/blog2014\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/protasis.net\/blog2014\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=113"}],"version-history":[{"count":28,"href":"http:\/\/protasis.net\/blog2014\/index.php?rest_route=\/wp\/v2\/pages\/113\/revisions"}],"predecessor-version":[{"id":1012,"href":"http:\/\/protasis.net\/blog2014\/index.php?rest_route=\/wp\/v2\/pages\/113\/revisions\/1012"}],"wp:attachment":[{"href":"http:\/\/protasis.net\/blog2014\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}