I'm using the new Krpano 1.20.8. It has a nice feature that easily allows you to make an autotour from your virtual tour. However I haven't found a way to toggle that effect with a button. I can only activate it by either writing "true" or "false" in the skin settings of the tour.xml.
Is there a way to easily use a button as a layer that enables the user to switch it on or off during the tour? (I'm a newbie at coding)
There is an option to activate and deactivate the autotour by doing a right-click and selecting it in the drop down menu, basically I want exactly that option as a button in the virtual tour.
Thanks!
David
This post has been edited 1 times, last edit by "6av16" (Nov 18th 2020, 11:58am)
Yes, it is possible to create a button in Krpano that toggles the autotour feature on and off. You can do this by adding a button layer to your virtual tour and attaching an onclick event that toggles the value of the "autorotate.enabled" variable between "true" and "false
https://sturdybusiness.com -Sturdy Business helps small businesses grow faster with best practices (without breaking the bank).