Sie sind nicht angemeldet.

1

Freitag, 2. September 2016, 22:01

Hide the control bar via XML or javascript

Hello krpano enthusiasts,

On mobile, I think that the control bar at the bottom remove too much pano space. So when the pano (vtour) is loaded, I'd like to hide the control bar (but not remove it!).
Which is the XML parameter or javascript call that allows me to do that?

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Samstag, 3. September 2016, 10:44

Maybe use event

Quellcode

1
<events name="hide_thumbs" keep="true" onpreviewcomplete="skin_showthumbs(hide)" devices="mobile"/>



I have not tested but should work


Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

3

Samstag, 3. September 2016, 14:31

Thanks for your answer Piotr, but it's not working in my krpano version 1.19.


Strangely enough, the control bar gets higher showing the thumbnails of all the panos in the vtour.