You are not logged in.

1

Friday, December 22nd 2017, 3:35am

Introimage dont work in vtour

Hello people good night *g* ,

This doubt is simple but it seems that there are not many people with the same problem here, at least I do not find anyone talking about it here.

Does anyone know why introimage does not work in mobile mode? *confused*

I found this K code, but it did not work for me:

Source code

1
add - keep="true" - to the introimage <plugin> element,


See my code, the browser works normally:


<events name="panoevents"
onloadcomplete="delayedcall(introimage, 15.0, if(layer[introimage], hideintroimage() ); ); set(events[panoevents].onloadcomplete,null);"
onremovepano="stopdelayedcall(introimage);"
/>
<plugin name="introimage"
url="img/tela_instrucoes.png"
align="center"
onloaded="set(alpha,0); tween(alpha,1);"
onclick="hideintroimage();"
scale="1"
zorder="10"
keep="true"
/>
<action name="hideintroimage">
if(layer[introimage].enabled,
set(layer[introimage].enabled,false);
tween(layer[introimage].alpha, 0.0, 0.5, default, removelayer(introimage));
);
</action>

tnx! *thumbup*

This post has been edited 2 times, last edit by "eudanck" (Dec 22nd 2017, 4:28am)


Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Friday, December 22nd 2017, 3:11pm

Hi)

I just tried your code and it works good both on desktop and on mobile.
Regards,

Alexey