{"id":208,"date":"2017-05-03T12:22:02","date_gmt":"2017-05-03T12:22:02","guid":{"rendered":"http:\/\/hotel-engel-niedernhausen.de\/?page_id=208"},"modified":"2022-08-12T17:19:48","modified_gmt":"2022-08-12T17:19:48","slug":"unsere-zimmer-360-entwurf","status":"publish","type":"page","link":"http:\/\/hotel-engel-niedernhausen.de\/?page_id=208","title":{"rendered":"360\u00b0 Ansicht"},"content":{"rendered":"<p style=\"text-align: center;\"><em><!--StartFragment--><em>Liebe G\u00e4ste,<br \/>\nherzlichen Dank f\u00fcr Ihr Interesse an unseren Zimmern.<br \/>\nGerne m\u00f6chten wir Ihnen einen kleinen Einblick in unsere kernsanierten Zimmer erm\u00f6glichen.<\/em><\/em><\/p>\n<p style=\"text-align: center;\"><em><style>#pano328 div.pnlm-orientation-button {\n                    display: none;\n                }<\/style><div id=\"master-container\" class=\"wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2328\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2328\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano328\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer328\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"328\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"328\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>jQuery(document).ready(function() {var response = [{\"panoid\":\"pano328\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"4\",\"autoRotateStopDelay\":\"4000\",\"default\":{\"firstScene\":\"room1\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"room1\":{\"type\":\"equirectangular\",\"panorama\":\"http:\\\/\\\/hotel-engel-niedernhausen.de\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/R0010026_20170411172024.jpg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow328 = pannellum.viewer(response[0][\"panoid\"], scenes);var response_duplicate = [{\"panoid\":\"pano328\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"4\",\"autoRotateStopDelay\":\"4000\",\"default\":{\"firstScene\":\"room1\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"room1\":{\"type\":\"equirectangular\",\"panorama\":\"http:\\\/\\\/hotel-engel-niedernhausen.de\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/R0010026_20170411172024.jpg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}}}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}panoshow328.on(\"load\", function (){\n            if(localStorage.getItem(\"vr_mode\") == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                }\n             else {\n                jQuery(\"#pano2328 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano328 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2328 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano328 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano328\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls328\").css(\"bottom\", \"55px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls328\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow328.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });\n\t\t\t\t\tif (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow328.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow328.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow328.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow328.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tvar touchtime = 0;\n            jQuery(document).on(\"click\",\"#explainer_button_328\",function() {\n                jQuery(\"#explainer328\").slideToggle();\n            });\n    \n            jQuery(document).on(\"click\",\".close-explainer-video\",function() {\n                jQuery(this).parent(\".explainer\").hide();\n                var el_src = jQuery(\".vr-iframe\").attr(\"src\");\n                jQuery(\".vr-iframe\").attr(\"src\", el_src);\n              });\n    \n            \n\t\t          jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols328\").hide();\n                      jQuery(\".wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl328\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });\n\t\t          \n\t\t          var slide328 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols328\",function() {\n\n\t\t            if (slide328 == \"up\") {\n\t\t              jQuery(\".vrgctrl328\").empty();\n\t\t              jQuery(\".vrgctrl328\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide328 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl328\").empty();\n\t\t              jQuery(\".vrgctrl328\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide328 = \"up\";\n\t\t            }\n                    jQuery(\".wpvr_slider_nav\").slideToggle(); \n\t\t            jQuery(\"#sccontrols328\").slideToggle();\n\t\t          });\n\t\t          \n            jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).children(\"div\").addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).children(\"div\").removeClass(\"awwww\");\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"328\") {\n                          jQuery(\"#pano328\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano328\").children(\".pnlm-ui\").remove();\n                          panoshow328 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano328\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow328.loadScene(\"room1\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano328\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls328\").css(\"bottom\", \"55px\");\n                                   }\n                                   else {\n                                     jQuery(\"#controls328\").css(\"bottom\", \"5px\");\n                                   }\n                                   \n                          }, 200);\n                        }\n                      }\n            });\n        \n            jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano328\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano328\").children(\".pnlm-ui\").remove();\n              panoshow328 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow328.loadScene(\"room1\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano328\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls328\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls328\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n        \n            jQuery(\"#pano328\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            });<\/script><\/em><\/p>\n<p style=\"text-align: center;\"><em><style>#pano331 div.pnlm-orientation-button {\n                    display: none;\n                }<\/style><div id=\"master-container\" class=\"wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2331\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2331\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano331\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer331\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"331\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"331\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>jQuery(document).ready(function() {var response = [{\"panoid\":\"pano331\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-3\",\"autoRotateStopDelay\":\"3000\",\"default\":{\"firstScene\":\"room2\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"room2\":{\"type\":\"equirectangular\",\"panorama\":\"http:\\\/\\\/hotel-engel-niedernhausen.de\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/R0010017_20170411154652.jpg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow331 = pannellum.viewer(response[0][\"panoid\"], scenes);var response_duplicate = [{\"panoid\":\"pano331\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-3\",\"autoRotateStopDelay\":\"3000\",\"default\":{\"firstScene\":\"room2\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"room2\":{\"type\":\"equirectangular\",\"panorama\":\"http:\\\/\\\/hotel-engel-niedernhausen.de\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/R0010017_20170411154652.jpg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}}}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}panoshow331.on(\"load\", function (){\n            if(localStorage.getItem(\"vr_mode\") == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                }\n             else {\n                jQuery(\"#pano2331 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano331 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2331 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano331 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano331\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls331\").css(\"bottom\", \"55px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls331\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow331.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });\n\t\t\t\t\tif (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow331.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow331.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow331.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow331.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tvar touchtime = 0;\n            jQuery(document).on(\"click\",\"#explainer_button_331\",function() {\n                jQuery(\"#explainer331\").slideToggle();\n            });\n    \n            jQuery(document).on(\"click\",\".close-explainer-video\",function() {\n                jQuery(this).parent(\".explainer\").hide();\n                var el_src = jQuery(\".vr-iframe\").attr(\"src\");\n                jQuery(\".vr-iframe\").attr(\"src\", el_src);\n              });\n    \n            \n\t\t          jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols331\").hide();\n                      jQuery(\".wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl331\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });\n\t\t          \n\t\t          var slide331 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols331\",function() {\n\n\t\t            if (slide331 == \"up\") {\n\t\t              jQuery(\".vrgctrl331\").empty();\n\t\t              jQuery(\".vrgctrl331\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide331 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl331\").empty();\n\t\t              jQuery(\".vrgctrl331\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide331 = \"up\";\n\t\t            }\n                    jQuery(\".wpvr_slider_nav\").slideToggle(); \n\t\t            jQuery(\"#sccontrols331\").slideToggle();\n\t\t          });\n\t\t          \n            jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).children(\"div\").addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).children(\"div\").removeClass(\"awwww\");\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"331\") {\n                          jQuery(\"#pano331\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano331\").children(\".pnlm-ui\").remove();\n                          panoshow331 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano331\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow331.loadScene(\"room2\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano331\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls331\").css(\"bottom\", \"55px\");\n                                   }\n                                   else {\n                                     jQuery(\"#controls331\").css(\"bottom\", \"5px\");\n                                   }\n                                   \n                          }, 200);\n                        }\n                      }\n            });\n        \n            jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano331\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano331\").children(\".pnlm-ui\").remove();\n              panoshow331 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow331.loadScene(\"room2\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano331\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls331\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls331\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n        \n            jQuery(\"#pano331\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            });<\/script><\/em><\/p>\n<p style=\"text-align: center;\"><em><style>#pano332 div.pnlm-orientation-button {\n                    display: none;\n                }<\/style><div id=\"master-container\" class=\"wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2332\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2332\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano332\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer332\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"332\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"332\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>jQuery(document).ready(function() {var response = [{\"panoid\":\"pano332\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-2\",\"autoRotateStopDelay\":\"4000\",\"default\":{\"firstScene\":\"room3\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"room3\":{\"type\":\"equirectangular\",\"panorama\":\"http:\\\/\\\/hotel-engel-niedernhausen.de\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/R0010021_20170411161959.jpg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow332 = pannellum.viewer(response[0][\"panoid\"], scenes);var response_duplicate = [{\"panoid\":\"pano332\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-2\",\"autoRotateStopDelay\":\"4000\",\"default\":{\"firstScene\":\"room3\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"room3\":{\"type\":\"equirectangular\",\"panorama\":\"http:\\\/\\\/hotel-engel-niedernhausen.de\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/R0010021_20170411161959.jpg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}}}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}panoshow332.on(\"load\", function (){\n            if(localStorage.getItem(\"vr_mode\") == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                }\n             else {\n                jQuery(\"#pano2332 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano332 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2332 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano332 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano332\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls332\").css(\"bottom\", \"55px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls332\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow332.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });\n\t\t\t\t\tif (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow332.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow332.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow332.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow332.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tvar touchtime = 0;\n            jQuery(document).on(\"click\",\"#explainer_button_332\",function() {\n                jQuery(\"#explainer332\").slideToggle();\n            });\n    \n            jQuery(document).on(\"click\",\".close-explainer-video\",function() {\n                jQuery(this).parent(\".explainer\").hide();\n                var el_src = jQuery(\".vr-iframe\").attr(\"src\");\n                jQuery(\".vr-iframe\").attr(\"src\", el_src);\n              });\n    \n            \n\t\t          jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols332\").hide();\n                      jQuery(\".wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl332\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });\n\t\t          \n\t\t          var slide332 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols332\",function() {\n\n\t\t            if (slide332 == \"up\") {\n\t\t              jQuery(\".vrgctrl332\").empty();\n\t\t              jQuery(\".vrgctrl332\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide332 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl332\").empty();\n\t\t              jQuery(\".vrgctrl332\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide332 = \"up\";\n\t\t            }\n                    jQuery(\".wpvr_slider_nav\").slideToggle(); \n\t\t            jQuery(\"#sccontrols332\").slideToggle();\n\t\t          });\n\t\t          \n            jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).children(\"div\").addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).children(\"div\").removeClass(\"awwww\");\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"332\") {\n                          jQuery(\"#pano332\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano332\").children(\".pnlm-ui\").remove();\n                          panoshow332 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano332\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow332.loadScene(\"room3\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano332\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls332\").css(\"bottom\", \"55px\");\n                                   }\n                                   else {\n                                     jQuery(\"#controls332\").css(\"bottom\", \"5px\");\n                                   }\n                                   \n                          }, 200);\n                        }\n                      }\n            });\n        \n            jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano332\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano332\").children(\".pnlm-ui\").remove();\n              panoshow332 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow332.loadScene(\"room3\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano332\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls332\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls332\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n        \n            jQuery(\"#pano332\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            });<\/script><\/em><\/p>\n<p style=\"text-align: center;\"><em>Gerne empfangen wir Sie zwischen 14:30 und 22:00 Uhr in unserem Hotel.&nbsp;<\/em><\/p>\n<p style=\"text-align: center;\"><em>Wir hoffen, dass Sie sich in unserem Haus wohl f\u00fchlen werden und w\u00fcnschen jetzt schon einen angenehmen Aufenthalt.<\/em><\/p>\n<p style=\"text-align: center;\">Ihre Engel<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Liebe G\u00e4ste, herzlichen Dank f\u00fcr Ihr Interesse an unseren Zimmern. Gerne m\u00f6chten wir Ihnen einen kleinen Einblick in unsere kernsanierten Zimmer erm\u00f6glichen. Gerne empfangen wir Sie zwischen 14:30 und 22:00 Uhr in unserem Hotel.&nbsp; Wir hoffen, dass Sie sich in &hellip; <a href=\"http:\/\/hotel-engel-niedernhausen.de\/?page_id=208\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/hotel-engel-niedernhausen.de\/index.php?rest_route=\/wp\/v2\/pages\/208"}],"collection":[{"href":"http:\/\/hotel-engel-niedernhausen.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/hotel-engel-niedernhausen.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/hotel-engel-niedernhausen.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/hotel-engel-niedernhausen.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=208"}],"version-history":[{"count":12,"href":"http:\/\/hotel-engel-niedernhausen.de\/index.php?rest_route=\/wp\/v2\/pages\/208\/revisions"}],"predecessor-version":[{"id":335,"href":"http:\/\/hotel-engel-niedernhausen.de\/index.php?rest_route=\/wp\/v2\/pages\/208\/revisions\/335"}],"wp:attachment":[{"href":"http:\/\/hotel-engel-niedernhausen.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}