You are not logged in.

1

Friday, September 2nd 2016, 10:01pm

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?

spacerywirtualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

2

Saturday, September 3rd 2016, 10:44am

Maybe use event

Source code

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

Saturday, September 3rd 2016, 2:31pm

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.