| Server IP : 213.186.33.4 / Your IP : 216.73.216.59 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/360/camping-clos-de-barbey/indexdata/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.20.9">
<!-- Spot Style - 360 -->
<style name="Icon360"
url="%FIRSTXML%/spots/pin_2d_shadowed_user_defaultpoint0.png"
visible="false"
edge="bottom" ox="0" oy="0"
zoom="true"
onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
onhover="onhoverIcon360"
onover="onoverIcon360"
onout="onoutIcon360"
height="50"
width="prop"
/>
<action name="onhoverIcon360">
showtooltip('hotspot');
</action>
<action name="onoverIcon360">
tween(scale, 1.2);
pauseautorotation(forcehotspot);
</action>
<action name="onoutIcon360">
hideTooltip();
tween(scale, 1);
resumeautorotation(forcehotspot);
</action>
<!-- Spot Style - Street View -->
<style name="IconStreetView"
url="%FIRSTXML%/spots/pin_2d_shadowed_user_defaultpoint1.png"
visible="false"
edge="bottom" ox="0" oy="0"
zoom="true"
onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
onhover="onhoverIconStreetView"
onover="onoverIconStreetView"
onout="onoutIconStreetView"
height="50"
width="prop"
/>
<action name="onhoverIconStreetView">
showtooltip('hotspot');
</action>
<action name="onoverIconStreetView">
tween(scale, 1.2);
pauseautorotation(forcehotspot);
</action>
<action name="onoutIconStreetView">
hideTooltip();
tween(scale, 1);
resumeautorotation(forcehotspot);
</action>
<!-- Spot Style - Vue aérienne -->
<style name="IconVueaérienne"
url="%FIRSTXML%/spots/hotspot_neutral_sequence_user_defaultpoint2.png"
visible="false"
frame="0"
lastframe="15"
framewidth="60"
frameheight="60"
stopspotsequence="false"
crop="0|0|60|60"
edge="bottom" ox="0" oy="0"
zoom="true"
onloaded="startspotanimation(0.1);if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
onhover="onhoverIconVueaérienne"
onover="onoverIconVueaérienne"
onout="onoutIconVueaérienne"
height="40"
width="prop"
/>
<action name="onhoverIconVueaérienne">
showtooltip('hotspot');
</action>
<action name="onoverIconVueaérienne">
tween(scale, 1.2);
pauseautorotation(forcehotspot);
</action>
<action name="onoutIconVueaérienne">
hideTooltip();
tween(scale, 1);
resumeautorotation(forcehotspot);
</action>
<!-- ********* -->
<!-- Gyroscope -->
<!-- ********* -->
<plugin name="gyroscope"
url="%FIRSTXML%/graphics/gyro2.js"
keep="true"
devices="no-desktop.and.html5"
onunavailable="checkGyroUnavailable();"
sensor_mode="1"
friction="auto"
autocalibration="true"
touch_mode="full"
onavailable="delayedcall(1, checkGyroAvailability(););"
enabled="false"
activated="false"
/>
<events name="gyroscopeEvents" onnewpano="planarGyroscopeTest();" keep="true" />
<action name="planarGyroscopeTest">
if(plugin[gyroscope],
if(scene[get(xml.scene)].full360,
set(sceneisfull360, false);
sub(viewhfov, panoview.hmax, panoview.hmin);
if (viewhfov == 360,
sub(viewvfov, panoview.vmax, panoview.vmin);
if (viewvfov == 180,
set(sceneisfull360, true);
);
);
if (sceneisfull360,
set(plugin[gyroscope].camroll, true);
,
set(plugin[gyroscope].camroll, false);
);
,
set(plugin[gyroscope].camroll, false);
);
);
</action>
<action name="changeGyroscopeState">
if(plugin[gyroscope],
if (plugin[gyroscope].isavailable,
if(%1,
set(plugin[gyroscope].activated,true);
,
set(plugin[gyroscope].activated,false);
);
if (%1 != plugin[gyroscope].enabled,
if(plugin[gyroscope].activated,
switch(plugin[gyroscope].enabled);
,
set(plugin[gyroscope].enabled, false);
);
if (plugin[gyroscope].enabled, events.dispatch(ongyroscopeon);, events.dispatch(ongyroscopeoff););
);
);
);
</action>
<action name="checkGyroAvailability">
if(plugin[gyroscope],
if (plugin[gyroscope].isavailable,
set(sceneisfull360, false);
if (scene[get(xml.scene)].full360,
sub(viewhfov, panoview.hmax, panoview.hmin);
if (viewhfov == 360,
sub(viewvfov, panoview.vmax, panoview.vmin);
if (viewvfov == 180,
set(sceneisfull360, true);
);
);
);
set(delaythegyrocheck, false);
if (sceneisfull360 AND tour_firstlittleplanet, set(delaythegyrocheck, true));
ifnot(delaythegyrocheck,
switch(plugin[gyroscope].enabled);
set(plugin[gyroscope].activated,true);
set(tour_gyroscopedevices, true);
events.dispatch(ongyroscopeavailable);
,
delayedcall(1, checkGyroAvailability(););
);
,
set(tour_gyroscopedevices, false);
);
if (plugin[gyroscope].enabled, events.dispatch(ongyroscopeon);, events.dispatch(ongyroscopeoff););
,
checkGyroUnavailable();
);
</action>
<action name="checkGyroUnavailable">
set(plugin[gyroscope].activated, false);
set(plugin[gyroscope].enabled, false);
set(tour_gyroscopedevices, false);
events.dispatch(ongyroscopeunavailable);
</action>
<!-- ********** -->
<!-- Partage Social -->
<!-- id : socialShare -->
<!-- ********** -->
<ptplugin name="socialShare" engine="kolorBox">
<settings>
<option name="position" value="topleft" type="string" />
<option name="margin_x" value="50" type="int" />
<option name="margin_y" value="50" type="int" />
<option name="external_padding" value="15" type="int" />
<option name="animate" value="false" type="bool" />
<option name="draggable_box" value="false" type="bool" />
<option name="container_auto_size" value="true" type="bool" />
<option name="container_color" value="ffffff" type="string" />
<option name="container_alpha" value="0.80000000000000004" type="float" />
<option name="container_topleft_border_radius" value="15" type="int" />
<option name="container_topright_border_radius" value="15" type="int" />
<option name="container_bottomleft_border_radius" value="15" type="int" />
<option name="container_bottomright_border_radius" value="15" type="int" />
<option name="container_border_width" value="0" type="int" />
<option name="container_border_color" value="ffffff" type="string" />
<option name="container_border_alpha" value="1" type="float" />
<option name="overlay_displayed" value="false" type="bool" />
<option name="overlay_color" value="000000" type="string" />
<option name="overlay_alpha" value="0.50000762951094835" type="float" />
<option name="social_btn" value="facebook#twitter#google#linkedin#email" type="string" />
<option name="social_btn_icons" value="iconset0" type="string" />
<option name="social_orientation" value="horizontal" type="string" />
<option name="social_btn_size" value="64" type="int" />
<option name="inner_margin" value="10" type="int" />
<option name="title_displayed" value="false" type="bool" />
<option name="caption_displayed" value="false" type="bool" />
<option name="close_displayed" value="true" type="bool" />
<option name="close_position" value="topright" type="string" />
<option name="close_text" value="socialShareclose_text" type="string" />
<option name="close_callback" value="invokeKrFunction('closeKolorBoxCallback_socialShare')" type="string" />
<option name="zorder" value="2" type="int" />
<option name="use_i18n" value="true" type="bool" />
</settings>
<internaldata>
</internaldata>
</ptplugin>
<action name="kolorBoxJsReady_socialShare">
set(ptplugin[socialShare].jsready, true);
</action>
<action name="showSocialShare_socialShare">
ifnot(ptplugin[socialShare].isOpen,
set(ptplugin[socialShare].isOpen, true);
pauseautorotation(forceplugin);
js(invokePluginFunction(socialShare, loadSingleArrayItem, social));
events.dispatch(onremovedisplayedobject);
);
</action>
<action name="toggleSocialShare_socialShare">
js(invokePluginFunction(socialShare, toggleKolorBox, %1));
</action>
<action name="closeKolorBox_socialShare">
js(invokePluginFunction(socialShare, closeKolorBox));
</action>
<action name="closeKolorBoxCallback_socialShare">
resumeautorotation(forceplugin);
set(ptplugin[socialShare].isOpen, false);
</action>
<action name="changeLanguage_socialShare">
if(ptplugin[socialShare].jsready,
js(invokePluginFunction(socialShare, changeLanguage));
);
</action>
<events name="kolorBoxEvents_socialShare"
keep="true"
onsharetour="showSocialShare_socialShare();"
changetourlanguage="changeLanguage_socialShare();"
/>
<!-- ********** -->
<!-- Pied de page -->
<!-- id : footer -->
<!-- ********** -->
<layer name="footer"
keep="true"
type="container"
bgcolor="0x8db4bd"
bgalpha="0.80000000000000004"
align="bottom"
x="0"
y="0"
zorder="3"
enabled="false"
capture="true"
visible="false"
height="60"
width="100%"
accuracy="1"
/>
<events name="footerevents"
onTourStart="showfooter();"
hidetourcontrols="hidefooter();"
showtourcontrols="showfooter();"
keep="true" />
<action name="hidefooter">
set(layer[footer].visible, false);
</action>
<action name="showfooter">
set(layer[footer].visible, true);
</action>
<!-- ********** -->
<!-- Barre de contrôle classique -->
<!-- id : controlBar_classic -->
<!-- ********** -->
<krpano controlBar_classicbarbuilt="false" controlBar_classicbackgroundwidthwhenclosed="0" controlBar_classicbackgroundwidthwhenopened="0" controlBar_classicIsOpened="false" />
<events name="controlBar_classicevents"
onxmlcomplete="controlBar_classicbuildMenuBar();"
keep="true" />
<action name="controlBar_classicbuildMenuBar">
ifnot (controlBar_classicbarbuilt, controlBar_classicbuildMenu(); set(controlBar_classicbarbuilt, true););
</action>
<action name="controlBar_classicbuildMenu">
set(controlBar_classicbutton_pos, 20);
set(layer[controlBar_classicbtn_hidecontrols].x, get(controlBar_classicbutton_pos));
set(layer[controlBar_classicbtn_showcontrols].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
add(controlBar_classicbackgroundwidthwhenclosed, get(controlBar_classicbutton_pos), 20);
if (device.desktop,
set(layer[controlBar_classicbtn_display_help].x, get(controlBar_classicbutton_pos));
set(layer[controlBar_classicbtn_close_help ].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
);
if (device.fullscreensupport,
set(layer[controlBar_classicbtn_openfs ].x, get(controlBar_classicbutton_pos));
set(layer[controlBar_classicbtn_closefs].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
);
set(layer[controlBar_classicbtn_share].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
set(layer[controlBar_classicbtn_autorotate_on ].x, get(controlBar_classicbutton_pos));
set(layer[controlBar_classicbtn_autorotate_off].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
if(plugin[ptpvrmode] AND device.html5,
set(layer[controlBar_classicbtn_enter_vr].x, get(controlBar_classicbutton_pos));
set(layer[controlBar_classicbtn_enter_vr_not].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
);
set(layer[controlBar_classicbtn_show_hotspots].x, get(controlBar_classicbutton_pos));
set(layer[controlBar_classicbtn_hide_hotspots].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
if(plugin[gyroscope],
set(controlBar_classicDisplayGyroscopeButton, false);
if (device.tablet, set(controlBar_classicDisplayGyroscopeButton, true););
if (device.mobile, set(controlBar_classicDisplayGyroscopeButton, true););
if(controlBar_classicDisplayGyroscopeButton,
set(layer[controlBar_classicbtn_gyroscope_on ].x, get(controlBar_classicbutton_pos));
set(layer[controlBar_classicbtn_gyroscope_off].x, get(controlBar_classicbutton_pos));
set(layer[controlBar_classicbtn_gyroscope_not].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
);
);
if (device.desktop,
set(layer[controlBar_classicbtn_right].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
set(layer[controlBar_classicbtn_left].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
);
if (device.desktop,
set(layer[controlBar_classicbtn_down].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
set(layer[controlBar_classicbtn_up].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
);
if (device.desktop,
set(layer[controlBar_classicbtn_out].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
set(layer[controlBar_classicbtn_in].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
);
if (scene.count GT 1,
set(layer[controlBar_classicbtn_next_pano].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
set(layer[controlBar_classicbtn_prev_pano].x, get(controlBar_classicbutton_pos));
inc(controlBar_classicbutton_pos, 36);
);
inc(controlBar_classicbutton_pos, 20);
set(controlBar_classicbackgroundwidthwhenopened, get(controlBar_classicbutton_pos));
add(controlBar_classicVerifyVisibility, 20, 20);
if(controlBar_classicbackgroundwidthwhenopened == controlBar_classicVerifyVisibility,
set(controlBar_classicbackgroundwidthwhenopened, 0);
);
</action>
<events name="controlBar_classicStartTourEvents" onTourStart="controlBar_classicCallOnStartTour();" keep="true" />
<action name="controlBar_classicCallOnStartTour">
set(layer[controlBar_classicmenu_controlbar_bg_img].width, get(controlBar_classicbutton_pos));
set(layer[controlBar_classicmenu_controlbar_bg].width, get(controlBar_classicbutton_pos));
controlBar_classicshowMenuControls();
</action>
<style name="controlBar_classic_btn_style"
keep="true"
alpha="0.8"
edge="right" align="right"
width="36" height="36"
zorder="6"
onover="controlBar_classicctrlbaronoveraction();"
onout="controlBar_classicctrlbaronoutaction();"
onhover="showTooltip('plugin', controlBar_classicmenuTooltipStyle, bottom);"
/>
<action name="controlBar_classicctrlbaronoveraction">
tween(alpha,1,0.1,easeoutquad);
tween(y,-2,0.1,easeoutquad);
</action>
<action name="controlBar_classicctrlbaronoutaction">
tween(alpha,0.8);
tween(y,0,0.1,easeoutquad);
hideTooltip();
</action>
<layer name="controlBar_classicmenu_controlbar_bg_img"
keep="true"
align="bottomright"
x="0" y="10"
url="%FIRSTXML%/graphics/classiccontrolbar/footer.png"
zorder="4"
width="40"
height="40"
scale9grid="10|10|80|80"
visible="false"
/>
<layer name="controlBar_classicmenu_controlbar_bg"
keep="true"
align="bottomright"
x="0" y="10"
type="container"
zorder="5"
width="40"
height="40"
visible="false"
alpha="1.0"
>
<layer name="controlBar_classicbtn_hide_hotspots"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_hide_show_hotspots.png"
style="controlBar_classic_btn_style"
onclick="hideHotspots();
"
tooltip="controlBar_classichideSpotsTip"
visible="false"
/>
<layer name="controlBar_classicbtn_show_hotspots"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_hide_show_hotspots.png"
style="controlBar_classic_btn_style"
onclick="showHotspots();
"
tooltip="controlBar_classicshowSpotsTip"
visible="false"
/>
<layer name="controlBar_classicbtn_gyroscope_off"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_gyroscope.png"
style="controlBar_classic_btn_style"
onclick="disableGyroscope();
"
devices="html5"
tooltip="controlBar_classicgyroOffTip"
visible="false"
/>
<layer name="controlBar_classicbtn_gyroscope_on"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_gyroscope.png"
style="controlBar_classic_btn_style"
onclick="enableGyroscope();
"
devices="html5"
tooltip="controlBar_classicgyroOnTip"
visible="false"
/>
<layer name="controlBar_classicbtn_gyroscope_not"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_gyroscope_off.png"
style="controlBar_classic_btn_style"
enabled="true"
capture="false"
devices="html5"
tooltip="controlBar_classicgyroNotTip"
visible="false"
/>
<layer name="controlBar_classicbtn_in"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_zoom_in.png"
ondown="viewControlZoomIn(false);"
onup="viewControlZoomStop();
"
style="controlBar_classic_btn_style"
tooltip="controlBar_classiczoomInTip"
devices="desktop"
visible="false"
/>
<layer name="controlBar_classicbtn_out"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_zoom_out.png"
ondown="viewControlZoomOut(false);
"
onup="viewControlZoomStop();
"
style="controlBar_classic_btn_style"
tooltip="controlBar_classiczoomOutTip"
devices="desktop"
visible="false"
/>
<layer name="controlBar_classicbtn_left"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_move_left.png"
ondown="viewControlMoveLeft(false);
"
onup="viewControlMoveHoriStop();
"
style="controlBar_classic_btn_style"
tooltip="controlBar_classicmoveLeftTip"
devices="desktop"
visible="false"
/>
<layer name="controlBar_classicbtn_right"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_move_right.png"
ondown="viewControlMoveRight(false);
"
onup="viewControlMoveHoriStop();
"
style="controlBar_classic_btn_style"
tooltip="controlBar_classicmoveRightTip"
devices="desktop"
visible="false"
/>
<layer name="controlBar_classicbtn_up"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_move_up.png"
ondown="viewControlMoveUp(false);
"
onup="viewControlMoveVertStop();
"
style="controlBar_classic_btn_style"
tooltip="controlBar_classicmoveUpTip"
devices="desktop"
visible="false"
/>
<layer name="controlBar_classicbtn_down"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_move_down.png"
ondown="viewControlMoveDown(false);
"
onup="viewControlMoveVertStop();
"
style="controlBar_classic_btn_style"
tooltip="controlBar_classicmoveDownTip"
devices="desktop"
visible="false"
/>
<layer name="controlBar_classicbtn_prev_pano"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_previous_scene.png"
onclick="loadPreviousScene();
"
style="controlBar_classic_btn_style"
tooltip="controlBar_classicprevSceneTip"
visible="false"
/>
<layer name="controlBar_classicbtn_next_pano"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_next_scene.png"
onclick="loadNextScene();
"
style="controlBar_classic_btn_style"
tooltip="controlBar_classicnextSceneTip"
visible="false"
/>
<layer name="controlBar_classicbtn_share"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_share.png"
onclick="shareTour();
"
style="controlBar_classic_btn_style"
visible="false"
tooltip="controlBar_classicshareTip"
/>
<layer name="controlBar_classicbtn_openfs"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_enter_fs.png"
onclick="enterFullscreen();
"
style="controlBar_classic_btn_style"
devices="fullscreensupport"
visible="false"
tooltip="controlBar_classicopenFsTip"
/>
<layer name="controlBar_classicbtn_closefs"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_close_fs.png"
onclick="exitFullscreen();
"
style="controlBar_classic_btn_style"
visible="false"
devices="fullscreensupport"
tooltip="controlBar_classiccloseFsTip"
/>
<layer name="controlBar_classicbtn_autorotate_on"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_start_autorotation.png"
onclick="resumeautorotation();
"
style="controlBar_classic_btn_style"
visible="false"
tooltip="controlBar_classicautorotateOnTip"
/>
<layer name="controlBar_classicbtn_autorotate_off"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_stop_autorotation.png"
onclick="pauseautorotation();
"
style="controlBar_classic_btn_style"
visible="false"
tooltip="controlBar_classicautorotateOffTip"
/>
<layer name="controlBar_classicbtn_enter_vr"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_vr_mode.png"
onclick="if(scene[get(xml.scene)].full360 AND disableCurrentSceneVrConservation !== true,
js(accessWebVr(get(xml.scene),get(videoscenestarttime)));
,
js(accessWebVr(null));
);"
style="controlBar_classic_btn_style"
visible="false"
devices="html5"
tooltip="controlBar_classicenterVRTip"
/>
<layer name="controlBar_classicbtn_enter_vr_not"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_vr_mode_off.png"
style="controlBar_classic_btn_style"
enabled="true"
capture="false"
visible="false"
devices="html5"
tooltip="controlBar_classicenterVRNotTip"
/>
<layer name="controlBar_classicbtn_display_help"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_help.png"
onclick="controlBar_classicdisplayHelp();"
style="controlBar_classic_btn_style"
devices="desktop"
visible="false"
tooltip="controlBar_classicdisplayHelpTip"
/>
<layer name="controlBar_classicbtn_close_help"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_help.png"
onclick="controlBar_classiccloseHelp();"
style="controlBar_classic_btn_style"
visible="false"
devices="desktop"
tooltip="controlBar_classichideHelpTip"
/>
<layer name="controlBar_classicbtn_hidecontrols"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_hide_controls.png"
style="controlBar_classic_btn_style"
onclick="controlBar_classichideMenuControls();hideTourControls();
"
visible="false"
tooltip="controlBar_classichideControlsTip"
/>
<layer name="controlBar_classicbtn_showcontrols"
url="%FIRSTXML%/graphics/classiccontrolbar/btn_show_controls.png"
style="controlBar_classic_btn_style"
onclick="controlBar_classicshowMenuControls();showTourControls();
"
tooltip="controlBar_classicdisplayControlsTip"
visible="false"
/>
</layer>
<events name="controlBar_classicvravailableevent"
onvravailable="controlBar_classicupdateVrButtonsAvailability();"
onvrunavailable="controlBar_classicupdateVrButtonsAvailability();"
keep="true" devices="html5" />
<krpano controlBar_classicmenuvravailable="false" />
<action name="controlBar_classicupdateVrButtonsAvailability">
if (tour_vrdevices,
set(controlBar_classicmenuvravailable, true);
,
set(controlBar_classicmenuvravailable, false);
);
controlBar_classicupdateVrButtons();
</action>
<action name="controlBar_classicHideVrButtons">
set(layer[controlBar_classicbtn_enter_vr].visible, false);
if('%1' == 'true' AND plugin[ptpvrmode],
set(layer[controlBar_classicbtn_enter_vr_not].visible, true);
,
set(layer[controlBar_classicbtn_enter_vr_not].visible, false);
);
</action>
<action name="controlBar_classicShowVrButtons">
if (controlBar_classicmenuvravailable,
set(layer[controlBar_classicbtn_enter_vr].visible, true);
set(layer[controlBar_classicbtn_enter_vr_not].visible, false);
,
controlBar_classicHideVrButtons(true);
);
</action>
<action name="controlBar_classicupdateVrButtons">
if (tour_vrdevices,
if (controlBar_classicIsOpened,
controlBar_classicShowVrButtons();
,
controlBar_classicHideVrButtons();
);
,
if (controlBar_classicIsOpened,
controlBar_classicHideVrButtons(true);
,
controlBar_classicHideVrButtons();
);
);
</action>
<events name="controlBar_classicgyroscopeavailableevent"
ongyroscopeavailable="controlBar_classicupdateGyroscopeButtonsAvailability();"
ongyroscopeunavailable="controlBar_classicupdateGyroscopeButtonsAvailability();"
ongyroscopeon="controlBar_classicenableGyroscopeButtons(true);"
ongyroscopeoff="controlBar_classicenableGyroscopeButtons(false);"
keep="true" devices="html5" />
<krpano controlBar_classicmenugyroscopeavailable="false" controlBar_classicmenugyroscopeenabled="false" />
<action name="controlBar_classicupdateGyroscopeButtonsAvailability">
if (tour_gyroscopedevices,
set(controlBar_classicmenugyroscopeavailable, true);
controlBar_classicupdateGyroscopeButtons();
,
set(controlBar_classicmenugyroscopeavailable, false);
controlBar_classicupdateGyroscopeButtons();
);
</action>
<action name="controlBar_classicenableGyroscopeButtons">
if (tour_gyroscopedevices,
set(controlBar_classicmenugyroscopeenabled, %1);
controlBar_classicupdateGyroscopeButtons();
);
</action>
<action name="controlBar_classicHideGyroscopeButtons">
set(layer[controlBar_classicbtn_gyroscope_off].visible, false);
set(layer[controlBar_classicbtn_gyroscope_on].visible, false);
if('%1' == 'true' AND plugin[gyroscope],
set(layer[controlBar_classicbtn_gyroscope_not].visible, true);
,
set(layer[controlBar_classicbtn_gyroscope_not].visible, false);
);
</action>
<action name="controlBar_classicShowGyroscopeButtons">
if (controlBar_classicmenugyroscopeavailable,
if (controlBar_classicmenugyroscopeenabled,
set(layer[controlBar_classicbtn_gyroscope_off].visible, true);
set(layer[controlBar_classicbtn_gyroscope_on].visible, false);
,
set(layer[controlBar_classicbtn_gyroscope_off].visible, false);
set(layer[controlBar_classicbtn_gyroscope_on].visible, true);
);
set(layer[controlBar_classicbtn_gyroscope_not].visible, false);
,
controlBar_classicHideGyroscopeButtons(true);
);
</action>
<action name="controlBar_classicupdateGyroscopeButtons">
if (tour_gyroscopedevices,
if (controlBar_classicIsOpened,
controlBar_classicShowGyroscopeButtons();
,
controlBar_classicHideGyroscopeButtons();
);
,
if (controlBar_classicIsOpened,
controlBar_classicHideGyroscopeButtons(true);
,
controlBar_classicHideGyroscopeButtons();
);
);
</action>
<action name="controlBar_classichideMenuControls">
set(controlBar_classicIsOpened, false);
set(layer[controlBar_classicbtn_hidecontrols].visible, false);
set(layer[controlBar_classicbtn_showcontrols].visible, true);
controlBar_classicupdateFullscreenButtons();
set(layer[controlBar_classicbtn_share].visible, false);
controlBar_classicupdateVrButtons();
if (scene.count GT 1,
set(layer[controlBar_classicbtn_prev_pano].visible, false);
set(layer[controlBar_classicbtn_next_pano].visible, false);
);
controlBar_classicupdateAutorotationButtons();
set(layer[controlBar_classicbtn_up].visible , false);
set(layer[controlBar_classicbtn_down].visible, false);
set(layer[controlBar_classicbtn_right].visible, false);
set(layer[controlBar_classicbtn_left].visible , false);
set(layer[controlBar_classicbtn_in].visible , false);
set(layer[controlBar_classicbtn_out].visible, false);
controlBar_classicupdateHideShowHotspotsButtons();
controlBar_classicupdateGyroscopeButtons();
controlBar_classicupdateHelpButtons();
if(controlBar_classicbackgroundwidthwhenclosed == 0,
set(layer[controlBar_classicmenu_controlbar_bg_img].visible, false);
set(layer[controlBar_classicmenu_controlbar_bg].visible, false);
,
set(layer[controlBar_classicmenu_controlbar_bg_img].visible, true);
set(layer[controlBar_classicmenu_controlbar_bg].visible, true);
);
tween(layer[controlBar_classicmenu_controlbar_bg_img].width,get(controlBar_classicbackgroundwidthwhenclosed),0.5,easeOutQuad);
tween(layer[controlBar_classicmenu_controlbar_bg].width,get(controlBar_classicbackgroundwidthwhenclosed),0.5,easeOutQuad);
tween(layer[controlBar_classicmenu_controlbar_bg_img].alpha,1.0,0.5,easeOutQuad);
</action>
<action name="controlBar_classicshowMenuControls">
set(controlBar_classicIsOpened, true);
set(layer[controlBar_classicbtn_hidecontrols].visible, true);
set(layer[controlBar_classicbtn_showcontrols].visible, false);
if(controlBar_classicbackgroundwidthwhenopened == 0,
set(layer[controlBar_classicmenu_controlbar_bg_img].visible, false);
set(layer[controlBar_classicmenu_controlbar_bg].visible, false);
,
set(layer[controlBar_classicmenu_controlbar_bg_img].visible, true);
set(layer[controlBar_classicmenu_controlbar_bg].visible, true);
);
tween(layer[controlBar_classicmenu_controlbar_bg_img].alpha,1.0,0.5,easeOutQuad);
controlBar_classicshowMenuButtons();
tween(layer[controlBar_classicmenu_controlbar_bg_img].width, get(controlBar_classicbackgroundwidthwhenopened),0.5,easeOutQuad);
tween(layer[controlBar_classicmenu_controlbar_bg].width, get(controlBar_classicbackgroundwidthwhenopened),0.5,easeOutQuad);
</action>
<action name="controlBar_classicshowMenuButtons">
if (device.desktop,
set(layer[controlBar_classicbtn_up].visible , true);
set(layer[controlBar_classicbtn_down].visible, true);
);
if (device.desktop,
set(layer[controlBar_classicbtn_right].visible, true);
set(layer[controlBar_classicbtn_left].visible , true);
);
if (device.desktop,
set(layer[controlBar_classicbtn_in].visible , true);
set(layer[controlBar_classicbtn_out].visible, true);
);
controlBar_classicupdateHideShowHotspotsButtons();
controlBar_classicupdateGyroscopeButtons();
controlBar_classicupdateHelpButtons();
controlBar_classicupdateFullscreenButtons();
set(layer[controlBar_classicbtn_share].visible, true);
controlBar_classicupdateVrButtons();
if (scene.count GT 1,
set(layer[controlBar_classicbtn_prev_pano].visible, true);
set(layer[controlBar_classicbtn_next_pano].visible, true);
);
controlBar_classicupdateAutorotationButtons();
</action>
<layer name="controlBar_classichelpScreen" align="center" keep="true" onclick="controlBar_classiccloseHelp();" url="%FIRSTXML%/graphics/classiccontrolbar/help_screen_bg.png" visible="false" zorder="97" height="10%" width="prop" />
<layer name="controlBar_classichelpScreenFg" align="center" keep="true" onclick="controlBar_classiccloseHelp();" displayed="false"
url="%FIRSTXML%/graphics/classiccontrolbar/help_screen_fg.png"
alpha="0.8"
height="50%"
width="prop"
zorder="98"
visible="false" />
<action name="controlBar_classicdisplayHelp">
set(layer[controlBar_classichelpScreenFg].displayed,true);
set(layer[controlBar_classichelpScreen].visible,true);
tween(layer[controlBar_classichelpScreen].height, 50%, 1, easeOutQuad,
set(layer[controlBar_classichelpScreenFg].visible,true);
);
controlBar_classicupdateHelpButtons();
</action>
<action name="controlBar_classiccloseHelp">
set(layer[controlBar_classichelpScreenFg].displayed,false);
set(layer[controlBar_classichelpScreenFg].visible,false);
tween(layer[controlBar_classichelpScreen].height, 10%, 1, easeOutQuad,
set(layer[controlBar_classichelpScreen].visible,false);
);
controlBar_classicupdateHelpButtons();
</action>
<action name="controlBar_classicHideHelpButtons">
set(layer[controlBar_classicbtn_display_help].visible, false);
set(layer[controlBar_classicbtn_close_help].visible, false);
</action>
<action name="controlBar_classicShowHelpButtons">
if (layer[controlBar_classichelpScreenFg].displayed,
set(layer[controlBar_classicbtn_close_help].visible, true);
set(layer[controlBar_classicbtn_display_help].visible, false);
,
set(layer[controlBar_classicbtn_display_help].visible, true);
set(layer[controlBar_classicbtn_close_help].visible, false);
);
</action>
<action name="controlBar_classicupdateHelpButtons">
if (device.desktop,
if (controlBar_classicIsOpened,
controlBar_classicShowHelpButtons();
,
controlBar_classicHideHelpButtons();
);
,
controlBar_classicHideHelpButtons();
);
</action>
<events name="controlBar_classicmenufullscreenchangeevent"
onenterfullscreen="controlBar_classicupdateFullscreenButtons();"
onexitfullscreen="controlBar_classicupdateFullscreenButtons();"
keep="true"/>
<action name="controlBar_classicHideFullscreenButtons">
set(layer[controlBar_classicbtn_openfs].visible , false);
set(layer[controlBar_classicbtn_closefs].visible, false);
</action>
<action name="controlBar_classicShowFullscreenButtons">
if (device.fullscreensupport,
if(tour_fullscreen,
set(layer[controlBar_classicbtn_openfs].visible , false);
set(layer[controlBar_classicbtn_closefs].visible, true);
,
set(layer[controlBar_classicbtn_openfs].visible ,true);
set(layer[controlBar_classicbtn_closefs].visible,false);
);
,
controlBar_classicHideFullscreenButtons();
);
</action>
<action name="controlBar_classicupdateFullscreenButtons">
if (controlBar_classicIsOpened,
controlBar_classicShowFullscreenButtons();
,
controlBar_classicHideFullscreenButtons();
);
</action>
<events name="controlBar_classicAutorotationEvents"
onstartautorotation="controlBar_classicupdateAutorotationButtons();"
onresumeautorotation="controlBar_classicupdateAutorotationButtons();"
onstopautorotation="controlBar_classicupdateAutorotationButtons();"
onpauseautorotation="controlBar_classicupdateAutorotationButtons();"
keep="true"/>
<action name="controlBar_classicHideAutorotationButtons">
set(layer[controlBar_classicbtn_autorotate_off].visible, false);
set(layer[controlBar_classicbtn_autorotate_on].visible , false);
</action>
<action name="controlBar_classicShowAutorotationButtons">
if(autorotate.enabled == false,
set(layer[controlBar_classicbtn_autorotate_off].visible, false);
set(layer[controlBar_classicbtn_autorotate_on].visible , true);
,
set(layer[controlBar_classicbtn_autorotate_off].visible, true);
set(layer[controlBar_classicbtn_autorotate_on].visible , false);
);
</action>
<action name="controlBar_classicupdateAutorotationButtons">
if (controlBar_classicIsOpened,
controlBar_classicShowAutorotationButtons();
,
controlBar_classicHideAutorotationButtons();
);
</action>
<events name="controlBar_classichotspotsdisplayevents"
hotspots_visibility_changed="controlBar_classicupdateHideShowHotspotsButtons"
keep="true"/>
<action name="controlBar_classicHideHideShowHotspotsButtons">
set(layer[controlBar_classicbtn_show_hotspots].visible, false);
set(layer[controlBar_classicbtn_hide_hotspots].visible, false);
</action>
<action name="controlBar_classicShowHideShowHotspotsButtons">
if (tour_displayspots,
set(layer[controlBar_classicbtn_hide_hotspots].visible, true);
set(layer[controlBar_classicbtn_show_hotspots].visible, false);
,
set(layer[controlBar_classicbtn_show_hotspots].visible, true);
set(layer[controlBar_classicbtn_hide_hotspots].visible, false);
);
</action>
<action name="controlBar_classicupdateHideShowHotspotsButtons">
if (controlBar_classicIsOpened,
controlBar_classicShowHideShowHotspotsButtons();
,
controlBar_classicHideHideShowHotspotsButtons();
);
</action>
<layer name="controlBar_classicmenuTooltipStyle"
keep="true"
enabled="false"
capture="false"
type="text"
align="center"
bg="false"
bgborder="0"
txtshadow="1.0 1.0 4.0 0x000000 1"
css="color:#e6e6e6;font-family:Helvetica;font-weight:bold;font-size:14px;text-align:left;"
interactivecontent="false"
zorder="0"
visible="false"
html=""
padding="2"
xoffset="0"
yoffset="0"
edge="bottom"
/>
<!-- ************* -->
<!-- Panorama Menu -->
<!-- ************* -->
<ptplugin name="panoramaMenu" engine="kolorMenu">
<settings>
<option name="position" value="topleft" type="string" />
<option name="orientation" value="vertical" type="string" />
<option name="sub_orientation" value="vertical" type="string" />
<option name="margin_x" value="5" type="int" />
<option name="margin_y" value="5" type="int" />
<option name="background_color" value="0000ff" type="string" />
<option name="background_alpha" value="0" type="float" />
<option name="item_spacer" value="5" type="int" />
<option name="border_radius" value="7" type="int" />
<option name="full_size" value="false" type="bool" />
<option name="use_out_effect" value="true" type="bool" />
<option name="item_out_border_width" value="3" type="int" />
<option name="item_out_border_radius" value="7" type="int" />
<option name="item_out_border_color" value="ffffff" type="string" />
<option name="item_out_border_alpha" value="1" type="float" />
<option name="item_out_border_style" value="solid" type="string" />
<option name="item_hover_border_radius" value="7" type="int" />
<option name="item_hover_border_width" value="3" type="int" />
<option name="item_hover_border_style" value="solid" type="string" />
<option name="item_hover_border_color" value="000000" type="string" />
<option name="item_hover_border_alpha" value="1" type="float" />
<option name="item_out_bg_color" value="0000ff" type="string" />
<option name="item_out_bg_alpha" value="0" type="float" />
<option name="item_out_font_color" value="ffffff" type="string" />
<option name="item_out_font_family" value="Arial" type="string" />
<option name="item_out_font_size" value="14" type="int" />
<option name="item_out_font_weight" value="normal" type="string" />
<option name="item_out_font_style" value="normal" type="string" />
<option name="item_out_font_decoration" value="normal" type="string" />
<option name="use_hover_effect" value="true" type="bool" />
<option name="item_hover_bg_color" value="3333ff" type="string" />
<option name="item_hover_bg_alpha" value="0" type="float" />
<option name="item_hover_font_color" value="ffffff" type="string" />
<option name="item_hover_font_family" value="Arial" type="string" />
<option name="item_hover_font_size" value="14" type="int" />
<option name="item_hover_font_weight" value="normal" type="string" />
<option name="item_hover_font_style" value="normal" type="string" />
<option name="item_hover_font_decoration" value="normal" type="string" />
<option name="padding_main" value="10" type="int" />
<option name="padding_sub" value="10" type="int" />
<option name="item_selected_color" value="b3b3b3" type="string" />
<option name="item_selected_alpha" value="1" type="float" />
<option name="item_selected_hover_color" value="d7d7d7" type="string" />
<option name="item_selected_hover_alpha" value="1" type="float" />
<option name="item_selected_font_color" value="ffffff" type="string" />
<option name="open_callback" value="invokeKrFunction('changeSelectedItem_panoramaMenu');" type="string" />
<option name="text_align" value="right" type="string" />
<option name="item_thumb_max_width" value="200" type="int" />
<option name="item_thumb_max_height" value="100" type="int" />
<option name="zorder" value="7" type="int" />
<option name="use_i18n" value="true" type="bool" />
</settings>
<internaldata>
<group name="group_1"
titleID="panogroup11_title"
thumbnail=""
subMenu="false"
cssClass="panogroup11">
<item name="group_1_item_1"
action="invokeKrFunction('mainloadscene', 'pano10')"
titleID="pano10_title"
thumbnail=""
cssClass="pano10">
</item>
<option name="background_color" value="808080" type="string" />
<option name="background_alpha" value="1" type="float" />
</group>
<group name="group_2"
titleID="panogroup13_title"
thumbnail=""
subMenu="true"
cssClass="panogroup13">
<item name="group_2_item_1"
action="invokeKrFunction('mainloadscene', 'pano16')"
titleID="pano16_title"
thumbnail="indexdata/piscine_16/thumbnail.jpg"
cssClass="pano16">
<option name="item_out_bg_color" value="8db4bd" type="string" />
<option name="item_out_bg_alpha" value="0.7686274509803922" type="float" />
<option name="item_hover_bg_color" value="a9d8e3" type="string" />
<option name="item_hover_bg_alpha" value="0.7686274509803922" type="float" />
</item>
<item name="group_2_item_2"
action="invokeKrFunction('mainloadscene', 'pano12')"
titleID="pano12_title"
thumbnail="indexdata/air_de_jeux_12/thumbnail.jpg"
cssClass="pano12">
<option name="item_out_bg_color" value="8db4bd" type="string" />
<option name="item_out_bg_alpha" value="0.7686274509803922" type="float" />
<option name="item_hover_bg_color" value="a9d8e3" type="string" />
<option name="item_hover_bg_alpha" value="0.7686274509803922" type="float" />
</item>
<item name="group_2_item_3"
action="invokeKrFunction('mainloadscene', 'pano14')"
titleID="pano14_title"
thumbnail="indexdata/restaurant_14/thumbnail.jpg"
cssClass="pano14">
<option name="item_out_bg_color" value="8db4bd" type="string" />
<option name="item_out_bg_alpha" value="0.7686274509803922" type="float" />
<option name="item_hover_bg_color" value="a9d8e3" type="string" />
<option name="item_hover_bg_alpha" value="0.7686274509803922" type="float" />
</item>
<option name="background_color" value="8db4bd" type="string" />
<option name="background_alpha" value="0.7686274509803922" type="float" />
</group>
</internaldata>
</ptplugin>
<action name="kolorMenuJsReady_panoramaMenu">
set(ptplugin[panoramaMenu].jsready, true);
</action>
<action name="showKolorMenu_panoramaMenu">
ifnot(ptplugin[panoramaMenu].isOpen,
stopdelayedcall(delay_panoramaMenu);
set(ptplugin[panoramaMenu].isOpen, true);
set(ptplugin[panoramaMenu].displayed, true);
js(openKolorMenu(panoramaMenu));
,
if(ptplugin[panoramaMenu].jsready,
stopdelayedcall(delay_panoramaMenu);
set(ptplugin[panoramaMenu].displayed, true);
js(invokePluginFunction(panoramaMenu, showKolorMenu));
,
delayedcall(delay_panoramaMenu, 0.1, showKolorMenu_panoramaMenu(););
);
);
</action>
<action name="hideKolorMenu_panoramaMenu">
if(ptplugin[panoramaMenu].jsready,
stopdelayedcall(delay_panoramaMenu);
set(ptplugin[panoramaMenu].displayed, false);
js(invokePluginFunction(panoramaMenu, hideKolorMenu));
,
delayedcall(delay_panoramaMenu, 0.1, hideKolorMenu_panoramaMenu(););
);
</action>
<action name="changeSelectedItem_panoramaMenu">
js(invokePluginFunction(panoramaMenu, changeSelectedItem, get(xml.scene)));
</action>
<action name="changeLanguage_panoramaMenu">
if(ptplugin[panoramaMenu].jsready,
stopdelayedcall(delay_panoramaMenu);
js(invokePluginFunction(panoramaMenu, changeLanguage));
,
delayedcall(delay_panoramaMenu, 0.1, changeLanguage_panoramaMenu(););
);
</action>
<events name="kolorMenuEvents_panoramaMenu"
keep="true"
onTourStart="showKolorMenu_panoramaMenu();"
hidetourcontrols="hideKolorMenu_panoramaMenu();"
showtourcontrols="showKolorMenu_panoramaMenu();"
onnewpano="changeSelectedItem_panoramaMenu();"
changetourlanguage="changeLanguage_panoramaMenu"
/>
<!-- ********** -->
<!-- Lecteur de site Internet -->
<!-- id : websiteViewer -->
<!-- ********** -->
<ptplugin name="websiteViewer" engine="kolorBox">
<settings>
<option name="position" value="center" type="string" />
<option name="margin_x" value="0" type="int" />
<option name="margin_y" value="60" type="int" />
<option name="external_padding" value="15" type="int" />
<option name="draggable_box" value="false" type="bool" />
<option name="container_auto_size" value="true" type="bool" />
<option name="container_width" value="100" type="int" />
<option name="container_width_unit" value="percent" type="string" />
<option name="container_height" value="100" type="int" />
<option name="container_height_unit" value="percent" type="string" />
<option name="container_color" value="ffffff" type="string" />
<option name="container_alpha" value="0" type="float" />
<option name="container_topleft_border_radius" value="15" type="int" />
<option name="container_topright_border_radius" value="15" type="int" />
<option name="container_bottomleft_border_radius" value="15" type="int" />
<option name="container_bottomright_border_radius" value="15" type="int" />
<option name="container_border_width" value="0" type="int" />
<option name="container_border_color" value="ffffff" type="string" />
<option name="container_border_alpha" value="1" type="float" />
<option name="overlay_displayed" value="true" type="bool" />
<option name="overlay_color" value="000000" type="string" />
<option name="overlay_alpha" value="0.50000762951094835" type="float" />
<option name="title_displayed" value="false" type="bool" />
<option name="title_position" value="top" type="string" />
<option name="title_font" value="Verdana" type="string" />
<option name="title_size" value="14" type="int" />
<option name="title_weight" value="normal" type="string" />
<option name="title_style" value="normal" type="string" />
<option name="title_decoration" value="none" type="string" />
<option name="title_color" value="000000" type="string" />
<option name="caption_displayed" value="false" type="bool" />
<option name="iframe_scrolling" value="auto" type="string" />
<option name="iframe_default_width" value="1100" type="int" />
<option name="iframe_default_height" value="800" type="int" />
<option name="iframe_devices_width" value="1100" type="int" />
<option name="iframe_devices_height" value="800" type="int" />
<option name="force_ios_scrolling" value="true" type="bool" />
<option name="fullscreen_displayed" value="false" type="bool" />
<option name="fullscreen_position" value="topleft" type="string" />
<option name="fullscreen_text" value="websiteViewerfullscreen_text" type="string" />
<option name="close_displayed" value="true" type="bool" />
<option name="close_position" value="topright" type="string" />
<option name="close_text" value="websiteViewerclose_text" type="string" />
<option name="close_callback" value="invokeKrFunction('closeKolorBoxCallback_websiteViewer')" type="string" />
<option name="zorder" value="8" type="int" />
<option name="use_i18n" value="true" type="bool" />
</settings>
<internaldata>
</internaldata>
</ptplugin>
<action name="kolorBoxJsReady_websiteViewer">
set(ptplugin[websiteViewer].jsready, true);
</action>
<action name="openWebsite_websiteViewer">
ifnot(ptplugin[websiteViewer].isOpen,
set(ptplugin[websiteViewer].isOpen, true);
set(ptplugin[websiteViewer].doNotDeleteMe, false);
getmessage(websiteViewer_boxurl, %1);
txtadd(websiteViewer_boxurl, ?iframe=true);
pauseautorotation(forceplugin);
js(invokePluginFunction(websiteViewer, loadSingleArrayItem, get(websiteViewer_boxurl), %2));
events.dispatch(onremovedisplayedobject);
,
if('%1' != websiteViewer_boxurl,
closeKolorBox_websiteViewer();
delayedcall(0.3,openWebsite_websiteViewer(%1,%2););
);
);
</action>
<action name="toggleWebsite_websiteViewer">
js(invokePluginFunction(websiteViewer, toggleKolorBox, %1));
</action>
<action name="closeKolorBox_websiteViewer">
js(invokePluginFunction(websiteViewer, closeKolorBox));
</action>
<action name="closeKolorBoxCallback_websiteViewer">
resumeautorotation(forceplugin);
set(ptplugin[websiteViewer].isOpen, false);
</action>
<action name="changeLanguage_websiteViewer">
if(ptplugin[websiteViewer].jsready,
stopdelayedcall(delay_websiteViewer);
js(invokePluginFunction(websiteViewer, changeLanguage));
,
delayedcall(delay_websiteViewer, 0.1, changeLanguage_websiteViewer(););
);
</action>
<events name="kolorBoxEvents_websiteViewer"
keep="true"
changetourlanguage="changeLanguage_websiteViewer();"
/>
<!-- ********** -->
<!-- Logo -->
<!-- id : logo -->
<!-- ********** -->
<layer align="topright"
x="10"
y="10"
zorder="9"
name="logo"
keep="true"
visible="false"
capture="false"
tooltip="logotooltipText"
onhover="showTooltip('plugin');"
onout="hideTooltip();"
url="%FIRSTXML%/graphics/logo/logo.png"
onclick="
getmessage(urltoopen,logowebsiteurl);openurl(get(urltoopen),_self);
"
height="140"
width="140"
/>
<events name="logoevents"
onTourStart="showlogo();"
keep="true" />
<action name="hidelogo">
set(layer[logo].visible, false);
</action>
<action name="showlogo">
set(layer[logo].visible, true);
</action>
<action name="viewControlMoveUp">
if(%1,
if(%2,
set(isfullvertical, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewvfov, panoview.vmax, panoview.vmin);
if (viewvfov == 180,
set(isfullvertical, true);
);
);
if(isfullvertical == false AND calc(view.vlookat-%2) LT view.vlookatmin,
moveto(get(view.hlookat), get(view.vlookatmin));
,
moveto(get(view.hlookat), calc(view.vlookat-%2));
);
,
set(vlookat_moveforce, -1);
delayedcall(0.1, viewControlMoveVertStop());
);
,
set(vlookat_moveforce, -1);
);
</action>
<action name="viewControlMoveDown">
if(%1,
if(%2,
set(isfullvertical, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewvfov, panoview.vmax, panoview.vmin);
if (viewvfov == 180,
set(isfullvertical, true);
);
);
if(sceneisfull360 == false AND calc(view.vlookat+%2) GT view.vlookatmax,
moveto(get(view.hlookat), get(view.vlookatmax));
,
moveto(get(view.hlookat), calc(view.vlookat+%2));
);
,
set(vlookat_moveforce, +1);
delayedcall(0.1, viewControlMoveVertStop());
);
,
set(vlookat_moveforce, +1);
);
</action>
<action name="viewControlMoveLeft">
if(%1,
if(%2,
set(isfullhorizontal, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewhfov, panoview.hmax, panoview.hmin);
if (viewhfov == 360,
set(isfullhorizontal, true);
);
);
if(isfullhorizontal == false AND calc(view.hlookat-%2) LT view.hlookatmin,
moveto(get(view.hlookatmin), get(view.vlookat));
,
moveto(calc(view.hlookat-%2), get(view.vlookat));
);
,
set(hlookat_moveforce, -1);
delayedcall(0.1, viewControlMoveHoriStop());
);
,
set(hlookat_moveforce, -1);
);
</action>
<action name="viewControlMoveRight">
if(%1,
if(%2,
set(isfullhorizontal, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewhfov, panoview.hmax, panoview.hmin);
if (viewhfov == 360,
set(isfullhorizontal, true);
);
);
if(isfullhorizontal == false AND calc(view.hlookat+%2) GT view.hlookatmax,
moveto(get(view.hlookatmax), get(view.vlookat));
,
moveto(calc(view.hlookat+%2), get(view.vlookat));
);
,
set(hlookat_moveforce, +1);
delayedcall(0.1, viewControlMoveHoriStop());
);
,
set(hlookat_moveforce, +1);
);
</action>
<action name="viewControlMoveHoriStop">
set(hlookat_moveforce, 0);
</action>
<action name="viewControlMoveVertStop">
set(vlookat_moveforce, 0);
</action>
<!-- Fullscreen Management -->
<action name="exitFullScreen" devices="fullscreensupport">set(tour_fullscreen,false);js(setFullscreen(false));</action>
<action name="enterFullScreen" devices="fullscreensupport">set(tour_fullscreen,true);js(setFullscreen(true));</action>
<action name="switchFullScreen">if(tour_fullscreen,exitFullScreen();,enterFullScreen(););</action>
<events name="krpanoExitFullscreenEvent"
onexitfullscreen="if(tour_fullscreen,exitFullScreenChangeEvent(););"
keep="true" />
<action name="exitFullScreenChangeEvent" devices="fullscreensupport">set(tour_fullscreen,false);events.dispatch(onexitfullscreen);</action>
<action name="enterFullScreenChangeEvent" devices="fullscreensupport">set(tour_fullscreen,true);events.dispatch(onenterfullscreen);</action>
<action name="exitFullScreenFallback">set(fullscreen,false);</action>
<action name="enterFullScreenFallback">set(fullscreen,true);</action>
<action name="resizeFullScreenEvent">delayedcall(0,updatescreen(););</action>
<action name="enableGyroscope">
changeGyroscopeState(true);
</action>
<action name="disableGyroscope">
changeGyroscopeState(false);
</action>
<!-- Hide / Show Controls -->
<action name="hideTourControls">set(tour_displaycontrols, false);events.dispatch(hidetourcontrols);</action>
<action name="showTourControls">set(tour_displaycontrols, true); events.dispatch(showtourcontrols);</action>
<!-- Share Tour -->
<action name="shareTour">events.dispatch(onsharetour);</action>
<!-- WebVR plugin for VR availability tests -->
<plugin name="ptpvrmode" devices="html5" keep="true"
url="%FIRSTXML%/graphics/webvr.js"
mobilevr_support="true"
mobilevr_fake_support="true"
vr_cursor=""
vr_cursor_enabled="false"
onavailable="delayedcall(1, checkVrAvailability(););"
onunavailable="checkVrUnavailable();"
/>
<action name="checkVrAvailability">
if(plugin[ptpvrmode],
if (plugin[ptpvrmode].isavailable,
set(tour_vrdevices, true);
events.dispatch(onvravailable);
,
set(tour_vrdevices, false);
);
,
checkVrUnavailable();
);
</action>
<action name="checkVrUnavailable">
set(tour_vrdevices, false);
events.dispatch(onvrunavailable);
</action>
<action name="viewControlZoomIn">
if(%1,
if(%2,
if(%2 LT view.fovmin,
zoomto(get(view.fovmin));
,
if(%2 LT view.fov,
zoomto(%2);
);
);
,
set(fov_moveforce, -1);
delayedcall(0.1, viewControlZoomStop());
);
,
set(fov_moveforce, -1);
);
</action>
<action name="viewControlZoomOut">
if(%1,
if(%2,
if(%2 GT view.fovmax,
zoomto(get(view.fovmax));
,
if(%2 GT view.fov,
zoomto(%2);
);
);
,
set(fov_moveforce, +1);
delayedcall(0.1, viewControlZoomStop());
);
,
set(fov_moveforce, +1);
);
</action>
<action name="viewControlZoomStop">
set(fov_moveforce, 0);
</action>
</krpano>