{"id":149,"date":"2013-04-10T20:42:06","date_gmt":"2013-04-10T20:42:06","guid":{"rendered":"https:\/\/www.cedarbluffutilities.com\/?page_id=149"},"modified":"2024-11-20T14:07:21","modified_gmt":"2024-11-20T14:07:21","slug":"calendar","status":"publish","type":"page","link":"https:\/\/www.cedarbluffutilities.com\/?page_id=149","title":{"rendered":"Calendar"},"content":{"rendered":"  <input type=\"hidden\" id=\"cal_width1\" value=\"700\"\/>\n  <div id='bigcalendar1' class=\"wdc_calendar\"><\/div>\n  <script>\n    var tb_pathToImage = \"https:\/\/www.cedarbluffutilities.com\/site\/wp-content\/plugins\/spider-event-calendar\/images\/loadingAnimation.gif\";\n    var tb_closeImage = \"https:\/\/www.cedarbluffutilities.com\/site\/wp-content\/plugins\/spider-event-calendar\/images\/tb-close.png\"\n    var randi;\n    if (typeof showbigcalendar != 'function') {\n      function showbigcalendar(id, calendarlink, randi, widget) {\n        jQuery.ajax({\n          type: \"GET\",\n          url: calendarlink,\n          data: {},\n          success: function (data) {\n            jQuery('#' + id).html(data);\n            spider_calendar_ajax_success(id, calendarlink, randi, widget)\n          }\n        });\n      }\n      function spider_calendar_ajax_success(id, calendarlink, randi, widget) {\n        jQuery(document).ready(function () {\n          jQuery('#views_select').toggle(function () {\n            jQuery('#drop_down_views').stop(true, true).delay(200).slideDown(500);\n            jQuery('#views_select .arrow-down').addClass(\"show_arrow\");\n            jQuery('#views_select .arrow-right').removeClass(\"show_arrow\");\n          }, function () {\n            jQuery('#drop_down_views').stop(true, true).slideUp(500);\n            jQuery('#views_select .arrow-down').removeClass(\"show_arrow\");\n            jQuery('#views_select .arrow-right').addClass(\"show_arrow\");\n          });\n        });\n        if (widget != 1) {\n          jQuery('drop_down_views').hide();\n          var parent_width = document.getElementById('bigcalendar' + randi).parentNode.clientWidth;\n          var calwidth = document.getElementById('cal_width' + randi).value;\n          var responsive_width = (calwidth) \/ parent_width * 100;\n          document.getElementById('bigcalendar' + randi).setAttribute('style', 'width:' + responsive_width + '%;');\n          jQuery('pop_table').css('height', '100%');\n        }\n        var thickDims, tbWidth, tbHeight;\n        jQuery(document).ready(function ($) {\n          if (\/iPad|iPhone|iPod\/.test(navigator.userAgent) && !window.MSStream) {\n            jQuery('body').addClass('ios_device');\n          }\n          setInterval(function () {\n            if (jQuery(\"body\").hasClass(\"modal-open\")) jQuery(\"html\").addClass(\"thickbox_open\");\n            else jQuery(\"html\").removeClass(\"thickbox_open\");\n          }, 500);\n          thickDims = function () {\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;\n            if (tbWindow.length) {\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            if (jQuery(window).width() < 768) {\n              var tb_left = parseInt((w \/ 2), 10) + 20;\n              jQuery('#TB_window').css({\"left\": tb_left + \"px\", \"width\": \"90%\", \"margin-top\": \"-13%\", \"height\": \"100%\"})\n              jQuery('#TB_window iframe').css({'height': '100%', 'width': '100%'});\n            }\n            else jQuery('#TB_window').css('left', '50%');\n            if (typeof popup_width_from_src != \"undefined\") {\n              popup_width_from_src = jQuery('.thickbox-previewbigcalendar' + randi).attr('href').indexOf('tbWidth=');\n              str = jQuery('.thickbox-previewbigcalendar' + randi).attr('href').substr(popup_width_from_src + 8, 150)\n              find_amp = str.indexOf('&');\n              width_orig = str.substr(0, find_amp);\n              find_eq = str.indexOf('=');\n              height_orig = str.substr(find_eq + 1, 5);\n              jQuery('#TB_window').css({'max-width': width_orig + 'px', 'max-height': height_orig + 'px'});\n              jQuery('#TB_window iframe').css('max-width', width_orig + 'px');\n            }\n          };\n          thickDims();\n          jQuery(window).resize(function () {\n            thickDims();\n          });\n          jQuery('a.thickbox-preview' + id).click(function () {\n            tb_click.call(this);\n            var alink = jQuery(this).parents('.available-theme').find('.activatelink'), link = '',\n              href = jQuery(this).attr('href'), url, text;\n            var reg_with = new RegExp(xx_cal_xx + \"tbWidth=[0-9]+\");\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;\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);\n            thickDims();\n            return false;\n          });\n\n        });\n      }\n    }\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', 'https:\/\/www.cedarbluffutilities.com\/site\/wp-admin\/admin-ajax.php?action=spiderbigcalendar_month&theme_id=13&calendar=1&select=month,list,week,day,&date=2026-04&months&many_sp_calendar=1&widget=0&rand=1', '1', '0');<\/script>\n  <style>\n    #TB_window iframe {\n      background: #B4C5CC;\n    }\n  <\/style>\n  \n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-149","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.cedarbluffutilities.com\/index.php?rest_route=\/wp\/v2\/pages\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cedarbluffutilities.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cedarbluffutilities.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cedarbluffutilities.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cedarbluffutilities.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=149"}],"version-history":[{"count":11,"href":"https:\/\/www.cedarbluffutilities.com\/index.php?rest_route=\/wp\/v2\/pages\/149\/revisions"}],"predecessor-version":[{"id":1619,"href":"https:\/\/www.cedarbluffutilities.com\/index.php?rest_route=\/wp\/v2\/pages\/149\/revisions\/1619"}],"wp:attachment":[{"href":"https:\/\/www.cedarbluffutilities.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}