You are not logged in.

  • "PelicanMedia" started this thread

Posts: 10

Location: Colchester, Essex, UK

  • Send private message

1

Thursday, September 3rd 2020, 10:58am

Auto-hide control bar after X seconds

Hi,

Sorry if this has been asked already...

Is there a way I could auto-hide the control bar after XX seconds. I have seen how to hide on startup, but once opened after no interaction with the bar I'd like it to hide again.

Thanks.

2

Sunday, September 6th 2020, 10:57am

Hi,

you could use the onidle event for that:
https://krpano.com/docu/xml/#events.onidle

E.g.

Source code

1
2
<set var="idletime" val="4.0" />
<events onidle="skin_hideskin();" />


Best regards,
Klaus

ramirox3

Intermediate

Posts: 354

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

3

Sunday, September 6th 2020, 5:37pm

it does not work

4

Wednesday, September 9th 2020, 11:14am

It works ;-) - when used with a current krpano version and the vtourskin.xml.

ramirox3

Intermediate

Posts: 354

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

5

Wednesday, September 9th 2020, 4:50pm

I am using the latest version. But I found that it works only if there is a prior interaction. Before that interaction was not needed