| Server IP : 213.186.33.4 / Your IP : 216.73.217.131 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/campeole-eurosurf/Nouveau/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?>
<!-- for xml compliance -->
<!-- Generated By Kolor Panotour 1.8.0 -->
<krpano version="1.0.8.14" logkey="false" onstart="startaction">
<action name="startaction">
hidepanospotsaction();
set(laststackthumbindex, get(stackthumb.count));
dec(laststackthumbindex);
buildstackthumbs(0, laststackthumbindex);
</action>
<action name="mainloadpano">
closepanoobjects();
closeglobalobjects();
ifnot(stopSequence === undefined,interruptAnimation(););
loadpano(%1,NULL,NULL,BLEND(1));
</action>
<plugin name="gyro" url="indexdata/graphics/gyro.js" devices="ipad|iphone" keep="true" enabled="true"/>
<!--************** Plugins et données KrPano **************************************************-->
<plugin name="data" firstPanoHasBeenPlayed="false" keep="true"/>
<!--************** Ouvre le premier pano ******************************************************-->
<include url="index0.xml"/>
<autorotate enabled="false"/>
<!--************** Polices ********************************************************************-->
<textstyle name="DEFAULT" background="false" bold="false" border="false" effect="dropshadow(0,45,0x000000,4,2);" font="Arial Narrow" fontsize="20" italic="false" textcolor="0xffffffff"/>
<!--************** Introduction ***************************************************************-->
<action name="fromlittleplanetintrotonormalview">
tweennormalview();
showpanospotsaction();
</action>
<action name="firstloadcompleteaction">
if(plugin[data].firstPanoHasBeenPlayed==false,
setlittleplanet();
wait(load);
set(plugin[data].firstPanoHasBeenPlayed,true);
startLittlePlanetIntroEffect();
);
</action>
<action name="startLittlePlanetIntroEffect">
if(plugin[data].firstPanoHasBeenPlayed == true,
delayedcall(1.0,
fromlittleplanetintrotonormalview();
set(autorotate.enabled,true);
);
);
</action>
<action name="setlittleplanet">
set(view.stereographic, true);
set(view.fisheye , 1.0);
set(view.limitview , lookat);
set(view.vlookatmin , -90);
set(view.vlookatmax , 90);
set(view.fov , 150);
set(view.fovmax , 150);
set(view.hlookat , 0);
set(view.vlookat , 90);
set(display.flash10 , off);
set(display.details , 14);
</action>
<!--************** Reflets ********************************************************************-->
<lensflareset name="DEFAULT" url="indexdata/graphics/flares.jpg"/>
<!--************** Menu ***********************************************************************-->
<plugin name="in" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="indexdata/graphics/menu/menu0.png" width="40" x="-180" y="10"/>
<plugin name="out" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="indexdata/graphics/menu/menu1.png" width="40" x="-140" y="10"/>
<plugin name="left" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="indexdata/graphics/menu/menu2.png" width="40" x="-100" y="10"/>
<plugin name="right" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="indexdata/graphics/menu/menu3.png" width="40" x="-60" y="10"/>
<plugin name="up" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="indexdata/graphics/menu/menu4.png" width="40" x="-20" y="10"/>
<plugin name="down" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="indexdata/graphics/menu/menu5.png" width="40" x="20" y="10"/>
<plugin name="home" align="bottom" crop="0|0|65|65" height="prop" keep="true" onclick="lookto(get(panoview.h),get(panoview.v),get(panoview.fov),smooth(100,20,50));" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu6.png" width="40" x="60" y="10"/>
<plugin name="openfs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,true);" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu7.png" width="40" x="100" y="10"/>
<plugin name="closefs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,false);" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu8.png" visible="false" width="40" x="100" y="10"/>
<plugin name="autorotationON" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationON].visible,false); set(plugin[autorotationOFF].visible,true);" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu9.png" visible="" width="40" x="140" y="10"/>
<plugin name="autorotationOFF" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationOFF].visible,false); set(plugin[autorotationON].visible,true);" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu10.png" visible="" width="40" x="140" y="10"/>
<plugin name="info" align="bottom" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="displayHelp();" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu11.png" width="40" x="180" y="10"/>
<plugin name="helpScreen" align="center" customColor="true" keep="true" onclick="closeHelp();" url="indexdata/graphics/menu/help.png" visible="false"/>
<action name="displayHelp">
set(plugin[helpScreen].visible,true);
set(plugin[info].onclick,closeHelp();)
</action>
<action name="closeHelp">
set(plugin[helpScreen].visible,false);
set(plugin[info].onclick,displayHelp();)
</action>
<events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"/>
<!--************** Pile de miniatures *********************************************************-->
<!-- thumbs description -->
<stackthumb name="stackthumb0" pano="index0.xml" thumburl="indexdata/graphics/index0_thumbstack.jpg" title="Vue aérienne du camping Campéole Eurosurf"/>
<stackthumb name="stackthumb1" pano="index1.xml" thumburl="indexdata/index1/preview.jpg" title="Camping & Prestataires"/>
<stackthumb name="stackthumb2" pano="index2.xml" thumburl="indexdata/index2/preview.jpg" title="Mobile-Home 30m² Titania"/>
<stackthumb name="stackthumb3" pano="index3.xml" thumburl="indexdata/index3/preview.jpg" title="Mobil-Home 21m²"/>
<stackthumb name="stackthumb4" pano="index4.xml" thumburl="indexdata/index4/preview.jpg" title="Mobile-Home 27m² Mahiti"/>
<stackthumb name="stackthumb5" pano="index5.xml" thumburl="indexdata/index5/preview.jpg" title="Mobile-Home 32m² Life"/>
<stackthumb name="stackthumb6" pano="index6.xml" thumburl="indexdata/index6/preview.jpg" title="Pagan 25m²"/>
<stackthumb name="stackthumb7" pano="index7.xml" thumburl="indexdata/index7/preview.jpg" title="Mobile-Home 29m² Soléo"/>
<stackthumb name="stackthumb8" pano="index8.xml" thumburl="indexdata/index8/preview.jpg" title="Mobile-Home 25m² Révao"/>
<stackthumb name="stackthumb9" pano="index9.xml" thumburl="indexdata/index9/preview.jpg" title="Mobile-Home 33m² Uwaii"/>
<stackthumb name="stackthumb10" pano="index10.xml" thumburl="indexdata/index10/preview.jpg" title="Mobile-Home 30m² Titania"/>
<!-- actione effectuée quand la souris passe au dessus d'une miniature -->
<action name="magnifystackthumb">
tween(plugin[%1].alpha, 1.0, 0.3, easeInQuad);
tween(plugin[%1].scale, 1.05, 0.3, easeInQuad);
set(plugin[%1].effect, glow(0xffffff,1,2,10000));
set(plugin[%1].jsborder,'2px solid #ffffff');
</action>
<!-- actione effectuée quand la souris sort d'une miniature -->
<action name="liestackthumb">
tween(plugin[%1].alpha, 0.8, 0.3, easeInQuad);
tween(plugin[%1].scale, 1.0, 0.3, easeInQuad);
set(plugin[%1].effect, glow(0xffffff,1,2,10000));
set(plugin[%1].jsborder,'2px solid #ffffff');
</action>
<!-- action appelée au démarrage pour construire la pile -->
<action name="buildstackthumbs">
if(%1 LE %2,
txtadd(thumbdescr, 'stackthumb', %1);
copy(thumb, stackthumb[get(thumbdescr)].thumburl);
txtadd(thumbname,'thumb_',%1);
addplugin(get(thumbname));
set(plugin[get(thumbname)].url , get(thumb));
set(plugin[get(thumbname)].keep , true);
set(plugin[get(thumbname)].align , righttop);
set(plugin[get(thumbname)].edge , center);
set(plugin[get(thumbname)].width , 40);
set(plugin[get(thumbname)].height, 20);
set(plugin[get(thumbname)].alpha , 0.8);
if (%1 GE 4, set(reali, 4), set(reali, %1));
mul(plugin[get(thumbname)].x, reali,3);
mul(plugin[get(thumbname)].y, reali,3);
add(plugin[get(thumbname)].x, 30);
add(plugin[get(thumbname)].y, 20);
copy(plugin[get(thumbname)].xsmall, plugin[get(thumbname)].x);
copy(plugin[get(thumbname)].ysmall, plugin[get(thumbname)].y);
add(plugin[get(thumbname)].zorder, 100, %1);
set(plugin[get(thumbname)].effect, glow(0xffffff,1,2,10000));
set(plugin[get(thumbname)].jsborder,'2px solid #ffffff');
set(plugin[get(thumbname)].title,get(stackthumb[get(thumbdescr)].title));
set(plugin[get(thumbname)].thumbpos, %1);
set(plugin[get(thumbname)].linkedpano, get(stackthumb[get(thumbdescr)].pano) );
set(plugin[get(thumbname)].onclick, openstackthumbs(0,%2) );
set(i, %1);
inc(i);
delayedcall(0,buildstackthumbs(get(i),%2));
);
</action>
<action name="openstackthumb">
if(%2 != NEXT,
set(pos,0);
copy(curpos, plugin[%1].thumbpos);
set(xdst, 0);
set(ydst, 0);
);
if(pos LT curpos,
inc(pos);
inc(ydst, 50);
if (ishtml5 == true,
sub(ymax, stageheight, 60);
,
sub(ymax, area.pixelheight, 60);
);
if(ydst GT ymax, inc(xdst,90);set(ydst,0); );
openstackthumb(%1,NEXT);
,
add(xdst, 50);
add(ydst, 30);
tween(plugin[%1].x, get(xdst) );
tween(plugin[%1].y, get(ydst) );
tween(plugin[%1].width , 80);
tween(plugin[%1].height, 40);
);
</action>
<action name="closestackthumb">
tween(plugin[%1].x, get(plugin[%1].xsmall));
tween(plugin[%1].y, get(plugin[%1].ysmall));
tween(plugin[%1].width , 40);
tween(plugin[%1].height, 20);
</action>
<action name="openstackthumbs">
if(%1 LE %2,
txtadd(thumbname,'thumb_',%1);
openstackthumb(get(thumbname));
set(plugin[get(thumbname)].onover , magnifystackthumb(get(name)); );
set(plugin[get(thumbname)].onout , liestackthumb(get(name)); );
set(plugin[get(thumbname)].onhover, showtext(get(title)); );
set(plugin[get(thumbname)].onclick, liestackthumb(get(name)); closestackthumbs(0,%2); mainloadpano(get(linkedpano)); );
set(i,%1);
inc(i);
delayedcall(0,openstackthumbs(get(i),%2));
);
</action>
<action name="closestackthumbs">
if(%1 LE %2,
txtadd(thumbname,'thumb_',%1);
closestackthumb(get(thumbname));
set(plugin[get(thumbname)].alpha , 0.8 );
set(plugin[get(thumbname)].onover , NULL );
set(plugin[get(thumbname)].onout , NULL );
set(plugin[get(thumbname)].onhover, NULL );
set(plugin[get(thumbname)].onclick, openstackthumbs(0,%2) );
set(i,%1);
inc(i);
closestackthumbs(get(i),%2);
);
</action>
<!--************** Plan ***********************************************************************-->
<plugin name="map" url="indexdata/map/map.jpg" keep="true" align="lefttop" x="10" y="10" width="10%" height="prop" handcursor="false" onloaded="hidemapspot();" onclick="openmap"/>
<plugin keep="true" visible="false" name="mapspot0" onclick="mainloadpano(index3.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Mobil-home 21m²);" align="lefttop" edge="center" parent="map" x="28.5057%" y="76.0463%"/>
<plugin keep="true" visible="false" name="mapspot1" onclick="mainloadpano(index5.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Mobile-Home 32m² Life);" align="lefttop" edge="center" parent="map" x="32.9549%" y="72.1467%"/>
<plugin keep="true" visible="false" name="mapspot2" onclick="mainloadpano(index6.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Pagan 25m²);" align="lefttop" edge="center" parent="map" x="55.6328%" y="56.7639%"/>
<plugin keep="true" visible="false" name="mapspot3" onclick="mainloadpano(index4.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Mobile-Home 27m² Mahiti);" align="lefttop" edge="center" parent="map" x="10.1576%" y="64.2079%"/>
<plugin keep="true" visible="false" name="mapspot4" onclick="mainloadpano(index2.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Mobile-Home 30m² Titania);" align="lefttop" edge="center" parent="map" x="69.1238%" y="59.6817%"/>
<plugin keep="true" visible="false" name="mapspot5" onclick="mainloadpano(index9.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Mobile-Home 33m² Uwaii);" align="lefttop" edge="center" parent="map" x="88.7344%" y="85.9416%"/>
<plugin keep="true" visible="false" name="mapspot6" onclick="mainloadpano(index8.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Mobile-Home 25m² Révao);" align="lefttop" edge="center" parent="map" x="84.4228%" y="81.4324%"/>
<plugin keep="true" visible="false" name="mapspot7" onclick="mainloadpano(index7.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Mobile-Home 29m² Soléo);" align="lefttop" edge="center" parent="map" x="74.7414%" y="76.1013%"/>
<plugin keep="true" visible="false" name="mapspot8" onclick="mainloadpano(index1.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Camping & Prestataires);" align="lefttop" edge="center" parent="map" x="23.0876%" y="50.3979%"/>
<plugin keep="true" visible="false" name="mapspot9" onclick="closeglobalobjects();openurl('https://www.google.fr/maps?q=camp%C3%A9ole+eurosurf&ie=UTF8&ll=43.056017,6.147902&spn=0.006366,0.016512&sll=43.055909,6.147874&layer=c&cid=17218864424513253987&panoid=Gz2XHY3cxtYAAAQIt6rOPw&cbp=13,127.31,,0,4.15&hq=camp%C3%A9ole+eurosurf&t=m&z=17&cbll=43.055951,6.148062', _blank);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Entrée);" align="lefttop" edge="center" parent="map" x="19.8297%" y="64.7418%"/>
<plugin keep="true" visible="false" name="mapspot10" onclick="mainloadpano(index0.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext(Vue aérienne);" align="lefttop" edge="center" parent="map" x="72.2222%" y="17.9887%"/>
<plugin name="mapradar" parent="map" edge="center" align="lefttop" keep="true" url="indexdata/map/radar.swf" alturl="indexdata/map/radar.js" visible="false" width="106" height="106" linecolor="0xffffff" linealpha="0.494118" linewidth="2" fillcolor="0xffffff" fillalpha="0.494118"/>
<action name="showmapspot">
set( plugin[mapspot0].alpha , 0);
set( plugin[mapspot0].visible, true);
tween(plugin[mapspot0].alpha , 1);
set( plugin[mapspot1].alpha , 0);
set( plugin[mapspot1].visible, true);
tween(plugin[mapspot1].alpha , 1);
set( plugin[mapspot2].alpha , 0);
set( plugin[mapspot2].visible, true);
tween(plugin[mapspot2].alpha , 1);
set( plugin[mapspot3].alpha , 0);
set( plugin[mapspot3].visible, true);
tween(plugin[mapspot3].alpha , 1);
set( plugin[mapspot4].alpha , 0);
set( plugin[mapspot4].visible, true);
tween(plugin[mapspot4].alpha , 1);
set( plugin[mapspot5].alpha , 0);
set( plugin[mapspot5].visible, true);
tween(plugin[mapspot5].alpha , 1);
set( plugin[mapspot6].alpha , 0);
set( plugin[mapspot6].visible, true);
tween(plugin[mapspot6].alpha , 1);
set( plugin[mapspot7].alpha , 0);
set( plugin[mapspot7].visible, true);
tween(plugin[mapspot7].alpha , 1);
set( plugin[mapspot8].alpha , 0);
set( plugin[mapspot8].visible, true);
tween(plugin[mapspot8].alpha , 1);
set( plugin[mapspot9].alpha , 0);
set( plugin[mapspot9].visible, true);
tween(plugin[mapspot9].alpha , 1);
set( plugin[mapspot10].alpha , 0);
set( plugin[mapspot10].visible, true);
tween(plugin[mapspot10].alpha , 1);
</action>
<action name="hidemapspot">
set(plugin[mapspot0].visible,false);
set(plugin[mapspot1].visible,false);
set(plugin[mapspot2].visible,false);
set(plugin[mapspot3].visible,false);
set(plugin[mapspot4].visible,false);
set(plugin[mapspot5].visible,false);
set(plugin[mapspot6].visible,false);
set(plugin[mapspot7].visible,false);
set(plugin[mapspot8].visible,false);
set(plugin[mapspot9].visible,false);
set(plugin[mapspot10].visible,false);
</action>
<!-- fermeture du plan -->
<action name="closemap">
set(plugin[mapradar].visible,false);
hidemapspot();
set(plugin[map].onclick,openmap);
tween(plugin[map].width,10%);
</action>
<!-- ouverture du plan -->
<action name="openmap">
if(plugin[mapradar].shouldbevisible == true, set(plugin[mapradar].visible,true););
set(plugin[map].onclick, closemap);
set(plugin[map].height, prop);
tween(plugin[map].width, 70%, 0.5, easeoutquad, showmapspot(););
set(plugin[map].align, lefttop);
set(plugin[map].x , 10);
set(plugin[map].y , 10);
</action>
<!-- Désélectionne tous les spot de la cartes sauf celui passé en argument -->
<!-- Désélectionne tous les spot de la carte si aucun argument n'est fourni -->
<action name="unselectmapspotsbutpassed">
set(plugin[mapradar].visible , false);
set(plugin[mapradar].shouldbevisible, false);
if (%1 != mapspot0,
if(plugin[mapspot0].animated,
set(plugin[mapspot0].frame , 0);
set(plugin[mapspot0].ypos , 0);
set(plugin[mapspot0].animationCounter, 0)
txtadd(plugin[mapspot0].crop,'0|0|',get(plugin[mapspot0].framewidth),'|',get(plugin[mapspot0].frameheight));
,
set(plugin[mapspot0].blingCounter, 0)
)
);
resetmapspot(mapspot0);
if (%1 != mapspot1,
if(plugin[mapspot1].animated,
set(plugin[mapspot1].frame , 0);
set(plugin[mapspot1].ypos , 0);
set(plugin[mapspot1].animationCounter, 0)
txtadd(plugin[mapspot1].crop,'0|0|',get(plugin[mapspot1].framewidth),'|',get(plugin[mapspot1].frameheight));
,
set(plugin[mapspot1].blingCounter, 0)
)
);
resetmapspot(mapspot1);
if (%1 != mapspot2,
if(plugin[mapspot2].animated,
set(plugin[mapspot2].frame , 0);
set(plugin[mapspot2].ypos , 0);
set(plugin[mapspot2].animationCounter, 0)
txtadd(plugin[mapspot2].crop,'0|0|',get(plugin[mapspot2].framewidth),'|',get(plugin[mapspot2].frameheight));
,
set(plugin[mapspot2].blingCounter, 0)
)
);
resetmapspot(mapspot2);
if (%1 != mapspot3,
if(plugin[mapspot3].animated,
set(plugin[mapspot3].frame , 0);
set(plugin[mapspot3].ypos , 0);
set(plugin[mapspot3].animationCounter, 0)
txtadd(plugin[mapspot3].crop,'0|0|',get(plugin[mapspot3].framewidth),'|',get(plugin[mapspot3].frameheight));
,
set(plugin[mapspot3].blingCounter, 0)
)
);
resetmapspot(mapspot3);
if (%1 != mapspot4,
if(plugin[mapspot4].animated,
set(plugin[mapspot4].frame , 0);
set(plugin[mapspot4].ypos , 0);
set(plugin[mapspot4].animationCounter, 0)
txtadd(plugin[mapspot4].crop,'0|0|',get(plugin[mapspot4].framewidth),'|',get(plugin[mapspot4].frameheight));
,
set(plugin[mapspot4].blingCounter, 0)
)
);
resetmapspot(mapspot4);
if (%1 != mapspot5,
if(plugin[mapspot5].animated,
set(plugin[mapspot5].frame , 0);
set(plugin[mapspot5].ypos , 0);
set(plugin[mapspot5].animationCounter, 0)
txtadd(plugin[mapspot5].crop,'0|0|',get(plugin[mapspot5].framewidth),'|',get(plugin[mapspot5].frameheight));
,
set(plugin[mapspot5].blingCounter, 0)
)
);
resetmapspot(mapspot5);
if (%1 != mapspot6,
if(plugin[mapspot6].animated,
set(plugin[mapspot6].frame , 0);
set(plugin[mapspot6].ypos , 0);
set(plugin[mapspot6].animationCounter, 0)
txtadd(plugin[mapspot6].crop,'0|0|',get(plugin[mapspot6].framewidth),'|',get(plugin[mapspot6].frameheight));
,
set(plugin[mapspot6].blingCounter, 0)
)
);
resetmapspot(mapspot6);
if (%1 != mapspot7,
if(plugin[mapspot7].animated,
set(plugin[mapspot7].frame , 0);
set(plugin[mapspot7].ypos , 0);
set(plugin[mapspot7].animationCounter, 0)
txtadd(plugin[mapspot7].crop,'0|0|',get(plugin[mapspot7].framewidth),'|',get(plugin[mapspot7].frameheight));
,
set(plugin[mapspot7].blingCounter, 0)
)
);
resetmapspot(mapspot7);
if (%1 != mapspot8,
if(plugin[mapspot8].animated,
set(plugin[mapspot8].frame , 0);
set(plugin[mapspot8].ypos , 0);
set(plugin[mapspot8].animationCounter, 0)
txtadd(plugin[mapspot8].crop,'0|0|',get(plugin[mapspot8].framewidth),'|',get(plugin[mapspot8].frameheight));
,
set(plugin[mapspot8].blingCounter, 0)
)
);
resetmapspot(mapspot8);
if (%1 != mapspot9,
if(plugin[mapspot9].animated,
set(plugin[mapspot9].frame , 0);
set(plugin[mapspot9].ypos , 0);
set(plugin[mapspot9].animationCounter, 0)
txtadd(plugin[mapspot9].crop,'0|0|',get(plugin[mapspot9].framewidth),'|',get(plugin[mapspot9].frameheight));
,
set(plugin[mapspot9].blingCounter, 0)
)
);
resetmapspot(mapspot9);
if (%1 != mapspot10,
if(plugin[mapspot10].animated,
set(plugin[mapspot10].frame , 0);
set(plugin[mapspot10].ypos , 0);
set(plugin[mapspot10].animationCounter, 0)
txtadd(plugin[mapspot10].crop,'0|0|',get(plugin[mapspot10].framewidth),'|',get(plugin[mapspot10].frameheight));
,
set(plugin[mapspot10].blingCounter, 0)
)
);
resetmapspot(mapspot10);
</action>
<!-- Séléctionne un spot de la carte en particulier -->
<action name="selectmapspot">
unselectmapspotsbutpassed(%1);
if(plugin[%1].animated,
inc(plugin[%1].animationCounter, 1);
if(plugin[%1].animationCounter == 1,
animatemapspot(%1, 0.1);
);
,
inc(plugin[%1].blingCounter,1);
if(plugin[%1].blingCounter == 1,
blingmapspot(%1);
);
);
copy(plugin[mapradar].x , plugin[%1].x);
copy(plugin[mapradar].y , plugin[%1].y);
set( plugin[mapradar].heading , %2 );
set( plugin[mapradar].shouldbevisible, true );
if(plugin[map].onclick == closemap, set(plugin[mapradar].visible,true););
</action>
<!-- anime le spot quand il est actif (appel récursif) -->
<action name="blingmapspot">
tween(plugin[%1].alpha, 0.0, 0.8, easeInSine );
tween(plugin[%1].scale, 1.5, 0.8, easeOutCubic);
tween(, , 0.8, , resetmapspot(%1);
if(plugin[%1].blingCounter > 0, blingmapspot(%1);););
</action>
<action name="resetmapspot">
set(plugin[%1].scale,1);
set(plugin[%1].alpha,1);
</action>
<!--************** Menu contextuel ************************************************************-->
<contextmenu>
<item name="item_0" caption="Une réalisation Adeo-web" onclick="openurl(http://www.adeo-web.fr)"/>
</contextmenu>
<!--************** Animation de séquence ******************************************************-->
<action name="animate">
if (stopSequence == false,
inc(hotspot[%1].frame,1,get(hotspot[%1].lastframe),0);
mul(hotspot[%1].ypos,hotspot[%1].frame,hotspot[%1].frameheight);
txtadd(hotspot[%1].crop,'0|',get(hotspot[%1].ypos),'|',get(hotspot[%1].framewidth),'|',get(hotspot[%1].frameheight));
delayedcall(%2, animate(%1,%2) );
);
</action>
<action name="closeglobalobjects">
closemap();
</action>
<!-- Raise sequence stopper and wait sequence time to break the delayed calls -->
<action name="interruptAnimation">
ifnot (stopSequence === undefined,
set(stopSequence, true);
wait(0.1);
);
</action>
</krpano>