Hide Controls parameter for deep linking?   [SOLVED] - View the solution

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
Topic author
Posts: 37
Likes: 1 post
Liked in: 0 post
Joined: Tue May 20, 2014 7:24 pm
Location: Juneau, Alaska

Hide Controls parameter for deep linking?

by AlaskaDave » Wed Nov 16, 2016 6:17 am

I have a tour that I would like to display in a modal (minimized view) and would like to hide the controls upon load. Is this possible through the URL as I would like to minimize multiple tour variations. Thank you.

User avatar
Posts: 418
Likes: 15 posts
Liked in: 163 posts
Joined: Wed Dec 17, 2014 12:37 am
Location: León, Nicaragua

Re: Hide Controls parameter for deep linking?  [SOLVED]

by 360-compunics-com-ni » Sun Nov 20, 2016 5:15 pm

Using the xml-include plugin you could use the following function to be able to hide the controls via URL:
Code: Select all
<events name="MyTourControlEvent" keep="true"
onTourStart="if( HideControls, hideTourControls(); );"

And the URL to hide the controls: index.html?HideControls=true

[Already posted this on the FB "Kolor Panotour & Krpano Users Group", but i think it's better to leave that group and stick to this forum]
Out now: DeviceCheck for PTP plugins! https://www.kolor.com/forum/viewtopic.php?f=40&t=37446

Want to know how clients use your tours? Google Analytics Track Events plugin: http://www.kolor.com/forum/viewtopic.php?f=40&t=34442

Add actions to your hotspots: Hotspot Actionlist plugin: http://www.kolor.com/forum/viewtopic.php?f=40&t=35829

Who is online

Users browsing this forum: No registered users and 3 guests