After clicking Ok it must be hide but it doesn't. I've update my krpano viewer to last version then the problem has occured. I try to back up up but it can't success. Now I can't click to Ok button on message. What must I do?
Click and drag your mouse to move doesn't hide problem
-
-
This is the page:
http://tinyurl.com/k78c9g8 -
my Xml code is :
Code
Alles anzeigen<data name="info_html"> <p> <br/> Click and Drag your mouse to move. <br/> <br/> <b>OK</b> <br/> </p> </data> <plugin name="info_text" url="%SWFPATH%/plugins/textfield.swf" html="data:info_html" css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }" keep="true" children="false" alpha=".85" visible="false" width="350" height="280" backgroundcolor="0x000000" roundedge="5" shadow="1" borderwidth="0" glow="4" align="center" x="0" y="0" autosize="center" onloaded="action(show_info_text);" onclick="action(hide_info_text);" /> <action name="show_info_text"> set(plugin[info_text].alpha,0); set(plugin[info_text].textblur,15); set(plugin[info_text].blur,15); set(plugin[info_text].visible,true); set(plugin[info_text].enabled,true); tween(plugin[info_text].alpha,.85,0.3); tween(plugin[info_text].textblur,0,0.3); tween(plugin[info_text].blur,0,0.3); </action> <action name="hide_info_text"> tween(plugin[info_text].alpha,0,0.3,null,set(plugin[info_text].visible,false)); tween(plugin[info_text].textblur,20,0.3); tween(plugin[info_text].blur,20,0.3); </action>
-
Hi,
the problem seems to be the 'null' as tween type here:
<action name="hide_info_text">
tween(plugin[info_text].alpha,0,0.3,null,set(plugin[info_text].visible,false));
tween(plugin[info_text].textblur,20,0.3);
tween(plugin[info_text].blur,20,0.3);
</action>try using a valid tween type:
https://krpano.com/docu/actions/#tweentypesbest regards,
Klaus -
Thanks. It works fine
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!