Hello everyone,
I've created a button with an action to open a google map but I want to use it in a toggle fashion to close it and haven't found an example to toggle.
Any help would be appreciated
Robert
QuoteDisplay More<plugin name="map_btn" visible="false" url="newcontrols.png" crop="172|34|29|25" keep="true"
align="leftbottom" x="172" y="0" handcursor="true" alpha="0" zorder="1000"
onclick="action(showmap,maps);"
onhover="showtext(Show MAP,csmall);" onover="tween(alpha,1,0.1)"
onout="tween(alpha,0,0.5)" onloaded="delayedcall(1,set(visible,true));"/><action name="showmap">
set(plugin[%1].visible,true);
tween(plugin[%1].alpha,1);
set(autorotate.enabled,true);
</action>