{"id":763,"date":"2025-03-11T15:55:36","date_gmt":"2025-03-11T04:55:36","guid":{"rendered":"https:\/\/templates.homherodev.com\/southport\/?page_id=763"},"modified":"2025-03-11T15:55:36","modified_gmt":"2025-03-11T04:55:36","slug":"availability-chart","status":"publish","type":"page","link":"https:\/\/templates.homherodev.com\/southport\/availability-chart\/","title":{"rendered":"Availability Chart"},"content":{"rendered":"            <div class=\"container redirect-menu-wrapper\">\r\n                <div class=\"row\">\r\n                    <div class=\"col-12 all-redirect-wrapper mb-3\">\r\n                        <div class=\"search-redirect-wrapper\"><a href=\"https:\/\/templates.homherodev.com\/southport\/stays\/\" data-original-url=\"https:\/\/templates.homherodev.com\/southport\/stays\/\"><i class=\"far fa-search\"><\/i>  Search<\/a><\/div><div class=\"map-redirect-wrapper\"><a href=\"https:\/\/templates.homherodev.com\/southport\/map-search\/\" data-original-url=\"https:\/\/templates.homherodev.com\/southport\/map-search\/\"><i class=\"far fa-map\"><\/i>  Map<\/a><\/div><div class=\"availability-redirect-wrapper\"><a href=\"https:\/\/templates.homherodev.com\/southport\/availability-chart\/\"><i class=\"far fa-list\"><\/i> Availability<\/a><\/div><div class=\"shortlist-redirect-wrapper\"><a href=\"https:\/\/templates.homherodev.com\/southport\/shortlist\/\"><i class=\"far fa-heart\"><\/i> Favourites<\/a><\/div>                    <\/div>\r\n                    <a id=\"searchScrollTo\" class=\"anchor\"><\/a>\r\n                   \r\n                    \r\n                <\/div>\r\n            <\/div>\r\n            <style>\r\n           .redirect-menu-wrapper{\r\n             padding-top: 1em;\r\n           }\r\n           .all-redirect-wrapper{\r\n                text-align: center;\r\n                display: flex;\r\n                justify-content: center;\r\n            }\r\n            .all-redirect-wrapper{\r\n                gap:1em;\r\n            }\r\n            .all-redirect-wrapper a {\r\n                font-weight: 600;\r\n                color: var(--theme--text-color);\r\n            }\r\n           \r\n            .searchError {\r\n                border-radius: var(--theme--border-radius);\r\n            }\r\n\r\n        <\/style>\r\n        <iframe id=\"availability-chart\" frameborder=\"0\" height=\"1050\" src=\"https:\/\/booking.homhero.com.au\/booking-chart.html?key=2265ea2c-fb4d-4946-9ac6-2db3dd68a66f&#038;btnclr=bca589&#038;datebrclr=1a6375\" scrolling=\"yes\"><\/iframe>    <style>iframe#availability-chart{width: 1px;min-width: 100%;}<\/style>\r\n    <script type=\"text\/javascript\">\r\n    var parentObj = {};\r\n    \/\/ Get the window displayed in the iframe.\r\n    var receiver = document.getElementById(\"booking-frame\").contentWindow;\r\n    \/\/ A function to handle sending messages.\r\n    function sendMessage() {\r\n        receiver.postMessage(JSON.stringify(parentObj), \"*\");\r\n    }\r\n    jQuery(window).scroll(function() {\r\n        parentObj.method = \"parentScroll\";\r\n        parentObj.vars = {};\r\n        parentObj.vars.scrollHeight = window.document.body.scrollHeight;\r\n        parentObj.vars.scrollTop = jQuery(this).scrollTop();\r\n        parentObj.vars.documentHeight = jQuery(window.document).height();\r\n        parentObj.vars.windowHeight = jQuery(window).height();\r\n        sendMessage();\r\n    });\r\n\r\n    var childObj = {};\r\n    \/\/ A function to handle incoming messages\r\n    function receiveMessage(e) {\r\n        if (e.data != \"\") {\r\n            var args = JSON.parse(e.data);\r\n            if (!args.__postRobot__) {\r\n                childObj = eval(args.vars);\r\n                eval(args.method + \"(childObj)\");\r\n            }\r\n        }\r\n    }\r\n    window.addEventListener(\"message\", receiveMessage);\r\n\r\n    function errorScroll() {\r\n        var cal = childObj.bodyScrollHeight \/ window.document.body.scrollHeight;\r\n        pos = (childObj.scrollTop * cal) - 30;\r\n        jQuery(window.document).scrollTop(pos);\r\n    }\r\n    <\/script>\r\n    ","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_homhero_southport_theme_hide_title":false,"_homhero_southport_theme_transparent_header":false,"footnotes":""},"class_list":["post-763","page","type-page","status-publish","hentry"],"acf":[],"featured_image_src":null,"featured_image_src_square":null,"_links":{"self":[{"href":"https:\/\/templates.homherodev.com\/southport\/wp-json\/wp\/v2\/pages\/763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/templates.homherodev.com\/southport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/templates.homherodev.com\/southport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/templates.homherodev.com\/southport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/templates.homherodev.com\/southport\/wp-json\/wp\/v2\/comments?post=763"}],"version-history":[{"count":1,"href":"https:\/\/templates.homherodev.com\/southport\/wp-json\/wp\/v2\/pages\/763\/revisions"}],"predecessor-version":[{"id":765,"href":"https:\/\/templates.homherodev.com\/southport\/wp-json\/wp\/v2\/pages\/763\/revisions\/765"}],"wp:attachment":[{"href":"https:\/\/templates.homherodev.com\/southport\/wp-json\/wp\/v2\/media?parent=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}