Page 1 of 1

How to hide tour thumbnails on startup?

Posted: Sun Nov 25, 2018 12:12 am
by Dirk Schenk
Hello,
is it possible to hide the thumbnails of the panos, that were shown above the simplex_V6 controller on startup?
I know that i can disable the complete function in the skin configuration but i only want that the thumbnails are hided at startup and can be shown by pressing the dedicated button in the controller afterwards.

regards
Dirk

Re: How to hide tour thumbnails on startup?

Posted: Sun Nov 25, 2018 8:54 pm
by Hopki
Hi Dirk,
The packaged skins are quite complex but were designed so people could modify them for their own use using the skin configuration button.
To walk you through this, have a look at the action to show and hide the thumbnail menu.
You will see two, one for the computer version and one for mobile.
The action is a Not(¬) which is a toggle action toggling the variable between true and false.

So knowing the thumbnail menu is visible on open, the default variable must be true.
To hide the menu on open the default needs to be changed to false.

Click in a blank area of the skin canvas to see all the variable.
When building the skin I used the following name prefix:
opt_ for skin configuration options
vis_ for any variable that will be used to show and hide elements
pos_ to change the position of an element

So what your looking for is the variable, this is displayed in the hide and show thumbnail button:
Source: Mouse Click
Action: Set Variable Value
Variable Name: vis_thumbnail_menu_show
Operation: Not(¬)

So in the list of vis_ variables find, vis_thumbnail_menu_show and change the default from true to false.

Screenshot 2018-11-25 at 19.34.36.png
Screenshot 2018-11-25 at 19.34.36.png (64.02 KiB) Viewed 2701 times

The skin is write protected so save the skin to your project folder.

The attached skin:
What I have done is set the variable: vis_thumbnail_menu_show to be Exposed.
I then gave it the description: Show Thumbnail Menu on open
I then moved it under the variable: opt_thumbnail

So under the Skin configuration button you now have the options:

Screenshot 2018-11-25 at 19.45.10.png
Screenshot 2018-11-25 at 19.45.10.png (69.97 KiB) Viewed 2701 times

The default in the attached skin is "Show thumbnail menu on open" is deflected, just check this to show it on open.
Regards,
Hopki

Re: How to hide tour thumbnails on startup?

Posted: Tue Nov 27, 2018 6:48 pm
by Dirk Schenk
Hello Hopki,
works great. Thanks you very much!

Dirk

Re: How to hide tour thumbnails on startup?

Posted: Wed Nov 28, 2018 10:51 am
by stalwart
I do something similar the "old fashioned way" of show / hide elements (only 'cos I hadn't realised Martin is 14 steps ahead of me already and done this with the packaged skins!).

http://www.360imagery.co.uk/portfolio/st-georges-park/

Last time I looked at a Pano2VR Skin, it looked like this...!! Back in the day....... :D :D :D :D :D

Image