Hello Everyone,
I have a user interface that has buttons on it. I was able to get googlemaps to open using the maps button. Still working on figuring out how to close using the same button but I have a help button that simply opens an image with instructions. Problem is that it won't open. Could you take a look at my code and see if I am missing something.
Thanks! Robert
QuoteDisplay More<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>