Zitat
<plugin name="help_btn" visible="false" url="newcontrols.png" crop="523|34|29|25" keep="true"
align="rightbottom" x="2" y="0" handcursor="true" alpha="0" zorder="1000"
onhover="showtext(Navigation Help,csmall)"
onclickA="action(showhelp,help); set (onclick, onclickB() );"
onclickB="action(hidehelp,help); set (onclick, onclickA() );"
onclick="onclickA();"
onover="tween(alpha,1,0.1)" onout="tween(alpha,0,0.5)" onloaded="delayedcall(1,set(visible,true));"/>
<plugin name="help"
url="images/navigation.png"
align="center" x="10" y="10"
alpha="0"
visible="false"
onhover="showtext(Click Image to Close, csmall);"
onclick="action(hidehelp,get(name));" />
<action name="showhelp">
set(plugin[%1].visible,true);
tween(plugin[%1].alpha,1);
set(autorotate.enabled,false);
</action>
<action name="hidehelp">
tween(plugin[%1].alpha,0,0.5,default, set(plugin[%1].visible,false) );
set(autorotate.enabled,true);
</action>
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
<plugin name="help_btn" visible="true" url="newcontrols.png" crop="523|34|29|25" keep="true" align="rightbottom" x="2" y="0" handcursor="true" alpha="0" zorder="1000" onhover="showtext(Navigation Help,csmall)" onclick="if (plugin[help].visible == true, action(hidehelp), action(showhelp));" onover="tween(alpha,1,0.1)" onout="tween(alpha,0,0.5)" onloaded="delayedcall(1,set(visible,true));"/> <plugin name="help" url="images/navigation.png" align="center" x="10" y="10" alpha="0" visible="false" onhover="showtext(Click Image to Close, csmall);" onclick="action(hidehelp,get(name));" /> <action name="showhelp"> set(plugin[help].visible,true); tween(plugin[help].alpha,1); set(autorotate.enabled,false); </action> <action name="hidehelp"> tween(plugin[help].alpha,0,0.5,default, set(plugin[help].visible,false) ); set(autorotate.enabled,true); </action> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<plugin name="mapslogo"
url="icons/map.png"
origin="leftcenter" edge="leftcenter" x="0" y="10"
parent="mapstab"
onhover=""
state="closed"
onclick="if(state == closed, action(openmap), action(closemap));"
scale=".75"
zorder="1"
keep="true"
rotate="0"
/>
<action name="openmap">
tween(area.width, 50%,2);
tween(area.x, 40%,2);
tween(plugin[mapsarrow].rotate,180,2);
set(plugin[mapslogo].state, opened); wait(1);
</action>
<action name="closemap">
tween(area.width, 75%,2);
tween(area.x, 5%,2);
tween(plugin[mapsarrow].rotate,0,2);
set(plugin[mapslogo].state, closed);
</action>
|
Zitat
<plugin name="help_btn" visible="true" url="newcontrols.png" crop="523|34|29|25" keep="true"
align="rightbottom" x="2" y="0" handcursor="true" alpha="0" zorder="1000"
onhover="showtext(Navigation Help,csmall)"
state="closed"
onclick="if(state == closed, action(showhelp), action(hidehelp));"
onover="tween(alpha,1,0.1)" onout="tween(alpha,0,0.5)" onloaded="delayedcall(1,set(visible,true));"/>
<plugin name="help"
url="images/navigation.png"
align="center" x="10" y="10"
alpha="0"
visible="false"
onhover="showtext(Click Image to Close, csmall);"
onclick="action(hidehelp,get(name));" />
<action name="showhelp">
set(plugin[help].visible,true);
tween(plugin[help].alpha,1);
set(autorotate.enabled,false);
</action>
<action name="hidehelp">
tween(plugin[help].alpha,0,0.5,default, set(plugin[help].visible,false) );
set(autorotate.enabled,true);
</action>