Files
lulandia.pl/themes/leo_lulandia/assets/spacery/drmateraczamosc/sp.xml
2025-03-05 09:26:04 +01:00

101 lines
8.0 KiB
XML

<!--************** Menu ***********************************************************************-->
<events name="thumbnailsResizeEvent" onresize="thumbsResizeEventHandler();"/>
<!-- otwórz miniaturkę -->
<action name="slide_action_in">
set(plugin[slide].onclick,slide_action_out);
set(plugin[strap].onclick,slide_action_out);
set(plugin[strapArrow].rotate,0);
tween(plugin[thumbArray].x, 280, 1, easeOutQuint);
thumbsResizeEventHandler();
</action>
<!-- zamknij miniaturkę -->
<action name="slide_action_out">
set(plugin[slide].onclick,slide_action_in);
set(plugin[strap].onclick,slide_action_in);
set(plugin[strapArrow].rotate,180);
tween(plugin[thumbArray].x, 0, 1, easeOutQuint);
</action>
<action name="thumbsResizeEventHandler">
plugin[thumbArray].updatepos();
copy(truethumbsheight, plugin[thumbArray].pixelheight);
if (area.pixelheight GT truethumbsheight,
set(plugin[thumbBgLayout].y, 0);displayThumbsScrolls(false);,
if (plugin[slide].onclick == slide_action_out, displayThumbsScrolls(true););
);
</action>
<plugin name="thumbArray" keep="true" zorder="1" url="builddata/graphics/transparent.png" handcursor="false" capture="false" children="true" alpha="1" blendmode="normal" smoothing="true" x="0%" y="0" scale="1" align="rightbottom" edge="left" width="140" height="prop"/>
<plugin name="thumbBgLayout" keep="true" zorder="1" url="builddata/graphics/transparent.png" handcursor="false" capture="false" x="0" y="0" align="center" edge="center" width="100%" height="prop" parent="thumbArray"/>
<plugin name="slide" parent="thumbArray" keep="true" zorder="0" url="builddata/graphics/slide.png" handcursor="false" capture="false" children="true" alpha="1" blendmode="normal" smoothing="true" x="0" y="0" align="lefttop" edge="left" width="280" height="40" onclick="slide_action_in"/>
<plugin name="strap" keep="true" zorder="0" url="builddata/graphics/strap.png" parent="thumbArray" alpha="1" align="lefttop" edge="right" handcursor="true" onclick="slide_action_in"/>
<plugin name="strapArrow" keep="true" parent="strap" zorder="0" url="builddata/graphics/arrow.png" align="top" x="0" y="10" edge="center" capture="false" enabled="false" rotate="180"/>
<!-- thumbs pictures -->
<plugin name="thumb_build0" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu0.png" width="20.3333%" height="prop" align="topright" edge="left" x="135" y="0" alpha="1" ondown="set(fov_moveforce,-1);" crop="0|0|65|65" onout="" onover="" onup="set(fov_moveforce,0);" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build1" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu1.png" width="20.3333%" height="prop" align="topright" edge="left" x="110" y="0" alpha="1" ondown="set(fov_moveforce,+1);" crop="0|0|65|65" onout="" onover="" onup="set(fov_moveforce,0);" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build2" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu2.png" width="20.3333%" height="prop" align="topright" edge="left" x="85" y="0" alpha="1" ondown="set(hlookat_moveforce,-1);" crop="0|0|65|65" onout="" onover="" onup="set(hlookat_moveforce,0);" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build3" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu3.png" width="20.3333%" height="prop" align="topright" edge="left" x="60" y="0" alpha="1" ondown="set(hlookat_moveforce,+1);" crop="0|0|65|65" onout="" onover="" onup="set(hlookat_moveforce,0);" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build4" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu4.png" width="20.3333%" height="prop" align="topright" edge="left" x="35" y="0" alpha="1" ondown="set(vlookat_moveforce,-1);" crop="0|0|65|65" onout="" onover="" onup="set(vlookat_moveforce,0);" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build5" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu5.png" width="20.3333%" height="prop" align="topright" edge="left" x="10" y="0" alpha="1" ondown="set(vlookat_moveforce,+1);" crop="0|0|65|65" onout="" onover="" onup="set(vlookat_moveforce,0);" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build6" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu6.png" width="20.3333%" height="prop" align="topright" edge="left" x="-15" y="0" alpha="1" onclick="set(fullscreen,true);" crop="0|0|65|65" onout="" onover="" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build7" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu7.png" width="20.3333%" height="prop" align="topright" edge="left" x="-15" y="0" alpha="1" onclick="set(fullscreen,false);" crop="0|0|65|65" onout="" onover="" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build8" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu8.png" width="20.3333%" height="prop" align="topright" edge="left" x="-40" y="0" alpha="1" onclick="displayHelp();" crop="0|0|65|65" onout="" onover="" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build9" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu9.png" width="65%" height="prop" align="righttop" edge="left" x="-73" y="0" alpha="1" onclick="openurl(http://zwiedzajlubelskie.pl/)" crop="0|0|200|65" onout="" onover="" onovercrop="0|65|200|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="thumb_build10" keep="true" zorder="2" parent="thumbBgLayout" url="builddata/graphics/menu/menu10.png" width="20.3333%" height="prop" align="righttop" edge="left" x="-108" y="0" alpha="1" onclick="openurl(http://www.facebook.com/ZwiedzajLubelskie)" crop="0|0|65|65" onout="" onover="" onovercrop="0|65|65|65" visible="false" onloaded="thumbloaded();"/>
<plugin name="helpScreen" align="center" customColor="true" keep="true" onclick="closeHelp();" url="builddata/graphics/menu/help.png" visible="false"/>
<action name="displayHelp">
set(plugin[helpScreen].visible,true);
set(plugin[thumb_build8].onclick,closeHelp();)
</action>
<action name="closeHelp">
set(plugin[helpScreen].visible,false);
set(plugin[thumb_build8].onclick,displayHelp();)
</action>
<events onenterfullscreen="set(plugin[thumb_build6].visible,false); set(plugin[thumb_build7].visible,true);" onexitfullscreen="set(plugin[thumb_build6].visible,true); set(plugin[thumb_build7].visible,false);"/>
<plugin name="thumbnailsData" keep="true" nbThumbnailsLoaded="0"/>
<action name="thumbloaded">
inc(plugin[thumbnailsData].nbThumbnailsLoaded, 1);
if(plugin[thumbnailsData].nbThumbnailsLoaded GE 2,
setThumbnailsVisible();
);
</action>
<action name="setThumbnailsVisible">
set(plugin[thumb_build0].visible, true);
set(plugin[thumb_build1].visible, true);
set(plugin[thumb_build2].visible, true);
set(plugin[thumb_build3].visible, true);
set(plugin[thumb_build4].visible, true);
set(plugin[thumb_build5].visible, true);
set(plugin[thumb_build6].visible, true);
set(plugin[thumb_build8].visible, true);
set(plugin[thumb_build9].visible, true);
set(plugin[thumb_build10].visible, true);
</action>
<!--************** Menu kontekstowe ***********************************************************-->
<contextmenu>
<item name="item_0" caption="www.tellogistic.pl"/>
<item name="item_1" caption="Autor: Jacek Scherer"/>
</contextmenu>
<!--************** Lista panoram **************************************************************-->
<plugin name="combobox" url="builddata/graphics/combobox.swf" preload="true" alturl="builddata/graphics/combobox.js" keep="true" width="200" align="righttop" rowcount="15" x="10" y="10">