Panorama 2
Center arhitekture Slovenije,
14. junij 2022
―
jQuery(document).ready(function() {var response = [{"panoid":"pano4551"},{"autoLoad":true,"showControls":true,"orientationSupport":"false","compass":false,"orientationOnByDefault":false,"mouseZoom":false,"draggable":false,"disableKeyboardCtrl":false,"keyboardZoom":true,"preview":"https:\/\/www.centerarhitekture.org\/ca\/wp-content\/uploads\/2022\/06\/P02.jpg","default":{"firstScene":"P02","sceneFadeDuration":""},"scenes":{"P02":{"type":"equirectangular","panorama":"https:\/\/www.centerarhitekture.org\/ca\/wp-content\/uploads\/2022\/06\/P02.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
{ window.dispatchEvent(new Event("resize")); }, 200); if (jQuery("#pano4551").children().children(".pnlm-panorama-info:visible").length > 0) { jQuery("#controls4551").css("bottom", "55px"); } else { jQuery("#controls4551").css("bottom", "5px"); } });panoshow4551.on("render", function (){ window.dispatchEvent(new Event("resize")); }); if (scenes.autoRotate) { panoshow4551.on("load", function (){ setTimeout(function(){ panoshow4551.startAutoRotate(scenes.autoRotate, 0); }, 3000); }); panoshow4551.on("scenechange", function (){ setTimeout(function(){ panoshow4551.startAutoRotate(scenes.autoRotate, 0); }, 3000); }); } var touchtime = 0; jQuery(document).on("click","#explainer_button_4551",function() { jQuery("#explainer4551").slideToggle(); }); jQuery(document).on("click",".close-explainer-video",function() { jQuery(this).parent(".explainer").hide(); var el_src = jQuery(".vr-iframe").attr("src"); jQuery(".vr-iframe").attr("src", el_src); }); jQuery(document).on("click","#floor_map_button_4551",function() { jQuery("#wpvr-floor-map4551").toggle().removeClass("fullwindow"); }); jQuery(document).on("dblclick","#wpvr-floor-map4551",function(){ jQuery(t