{"id":73,"date":"2025-03-24T08:47:00","date_gmt":"2025-03-24T08:47:00","guid":{"rendered":"https:\/\/parkandflyalicante.com\/?page_id=73"},"modified":"2025-12-05T07:25:42","modified_gmt":"2025-12-05T07:25:42","slug":"book-now","status":"publish","type":"page","link":"https:\/\/parkandflyalicante.com\/en\/book-now\/","title":{"rendered":"Book now"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2><strong>Book now<\/strong><\/h2>\n<script> \n\n\t\t\tdocument.addEventListener(\"scroll\", function () {\n\t\t\t\tvar iframe = document.getElementById(\"parkingpro_booking_widgets_iframe\");\n\t\t\t\tvar rect = iframe.getBoundingClientRect();\n\t\t\t\tvar top_value = rect.top;\n\n\t\t\n\t\t\t\tiframe.contentWindow.postMessage({\n\t\t\t\t\tevent: \"parkingPro.widget.scroll\",\n\t\t\t\t\ttop: top_value\n\t\t\t\t}, \"*\");\n\t\t\t});\n\n\t\t\twindow.addEventListener(\"message\", function (e) { \n\t\t\t\tif(e.data.event === \"parkingPro.domain.reservationAdded\") {  \n\t    \t\tjQuery(\"html, body\").animate({\n\t        \t\tscrollTop: jQuery(\"#parkingpro_booking_widgets_iframe\").offset().top\n\t        \t}, 600); \n\t        }\n\n\t    \tif( e.data.event === \"parkingPro.ui.pageHeightChanged\" ) \n            {\n                jQuery(\"#parkingpro_booking_widgets_iframe\").height(e.data.newHeight + 50);\n            }\n\n\t\t\tif ( e.data.event === \"parkingPro.ui.scroll\" )\n\t\t\t{\n\t\t\t\tvar scrollAppendElements = jQuery(\"\");\n\n\t\t\t\tvar headerHeight = scrollAppendElements\n\t\t\t\t\t.map(function (x) { \n\t\t\t\t\t\treturn jQuery(this).outerHeight();\n\t\t\t\t\t})\n\t\t\t\t\t.get()\n\t\t\t\t\t.reduce(function (prev, curr) {\n\t\t\t\t\t\treturn prev + curr;\n\t\t\t\t\t}, 0);\n\n\t\t\t\tjQuery(\"html, body\").animate({\n\t        \t\tscrollTop: jQuery(\"#parkingpro_booking_widgets_iframe\").offset().top + e.data.scrollTop - headerHeight\n\t        \t}, 600); \n\t\t\t}\n            \n\t        }, false);<\/script><iframe loading=\"lazy\" id=\"parkingpro_booking_widgets_iframe\" style=\"width: 100%; src=\"about:blank\" padding: 0; border: 0;\" width=\"100%\" height=\"1500\" frameborder=\"0\" scrolling=\"yes\"><\/iframe><script>\n\n\t\t\ttry { \n\t\t\t\tvar iframe = document.querySelector('#parkingpro_booking_widgets_iframe');\n\t\t\t\tiframe.src = 'https:\/\/parkflyalicante.myparking.pro\/reservations\/add?&hideHeader&hideTitle&culture=en-EN';\n\t\t\t} \n\t\t\tcatch(e) {\n\t\t\t\tconsole.log(e);\n\t\t\t}\n\n\t\t<\/script>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Book now <script> \n\n\t\t\tdocument.addEventListener(\"scroll\", function () {\n\t\t\t\tvar iframe = document.getElementById(\"parkingpro_booking_widgets_iframe\");\n\t\t\t\tvar rect = iframe.getBoundingClientRect();\n\t\t\t\tvar top_value = rect.top;\n\n\t\t\n\t\t\t\tiframe.contentWindow.postMessage({\n\t\t\t\t\tevent: \"parkingPro.widget.scroll\",\n\t\t\t\t\ttop: top_value\n\t\t\t\t}, \"*\");\n\t\t\t});\n\n\t\t\twindow.addEventListener(\"message\", function (e) { \n\t\t\t\tif(e.data.event === \"parkingPro.domain.reservationAdded\") {  \n\t    \t\tjQuery(\"html, body\").animate({\n\t        \t\tscrollTop: jQuery(\"#parkingpro_booking_widgets_iframe\").offset().top\n\t        \t}, 600); \n\t        }\n\n\t    \tif( e.data.event === \"parkingPro.ui.pageHeightChanged\" ) \n            {\n                jQuery(\"#parkingpro_booking_widgets_iframe\").height(e.data.newHeight + 50);\n            }\n\n\t\t\tif ( e.data.event === \"parkingPro.ui.scroll\" )\n\t\t\t{\n\t\t\t\tvar scrollAppendElements = jQuery(\"\");\n\n\t\t\t\tvar headerHeight = scrollAppendElements\n\t\t\t\t\t.map(function (x) { \n\t\t\t\t\t\treturn jQuery(this).outerHeight();\n\t\t\t\t\t})\n\t\t\t\t\t.get()\n\t\t\t\t\t.reduce(function (prev, curr) {\n\t\t\t\t\t\treturn prev + curr;\n\t\t\t\t\t}, 0);\n\n\t\t\t\tjQuery(\"html, body\").animate({\n\t        \t\tscrollTop: jQuery(\"#parkingpro_booking_widgets_iframe\").offset().top + e.data.scrollTop - headerHeight\n\t        \t}, 600); \n\t\t\t}\n            \n\t        }, false);<\/script><iframe loading=\"lazy\" id=\"parkingpro_booking_widgets_iframe\" style=\"width: 100%; src=\"about:blank\" padding: 0; border: 0;\" width=\"100%\" height=\"1500\" frameborder=\"0\" scrolling=\"yes\"><\/iframe><script>\n\n\t\t\ttry { \n\t\t\t\tvar iframe = document.querySelector('#parkingpro_booking_widgets_iframe');\n\t\t\t\tiframe.src = 'https:\/\/parkflyalicante.myparking.pro\/reservations\/add?&hideHeader&hideTitle&culture=en-EN';\n\t\t\t} \n\t\t\tcatch(e) {\n\t\t\t\tconsole.log(e);\n\t\t\t}\n\n\t\t<\/script><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"dipi_cpt_category":[],"class_list":["post-73","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/parkandflyalicante.com\/en\/wp-json\/wp\/v2\/pages\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/parkandflyalicante.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/parkandflyalicante.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/parkandflyalicante.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/parkandflyalicante.com\/en\/wp-json\/wp\/v2\/comments?post=73"}],"version-history":[{"count":6,"href":"https:\/\/parkandflyalicante.com\/en\/wp-json\/wp\/v2\/pages\/73\/revisions"}],"predecessor-version":[{"id":383,"href":"https:\/\/parkandflyalicante.com\/en\/wp-json\/wp\/v2\/pages\/73\/revisions\/383"}],"wp:attachment":[{"href":"https:\/\/parkandflyalicante.com\/en\/wp-json\/wp\/v2\/media?parent=73"}],"wp:term":[{"taxonomy":"dipi_cpt_category","embeddable":true,"href":"https:\/\/parkandflyalicante.com\/en\/wp-json\/wp\/v2\/dipi_cpt_category?post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}