Detecting first / last panorama of a tour

Q&A about the latest versions
Post Reply
Kay-Uwe Rosseburg
Posts: 34
Joined: Tue Jan 27, 2009 3:12 pm
Contact:

Hi everybody,
I have a tour using previous / next Panorama buttons to navigate through the tour. When the user reaches the last panorama, hitting the "next-pano-button" leads to the first panorama of the tour. But that is what I don't want. I want to disable the next-panorama-button at the last panorama of the tour. How can I detect in the skin, that the user reached the last panorama of the tour? Same for the first panorama?

Thanks and greetings
Kay-Uwe
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Kay-Uwe,

Add the tags "first' and 'last' to the first and last nodes of your tour respectively.

Select the previous button and under Properties > Appearance > Visible create a logic block and add Trigger = Tags | Comparison = contain | Value = first | Visible = false

Select the next button and under Properties > Appearance > Visible create a logic block and add Trigger = Tags | Comparison = contain | Value = last | Visible = false

forum1.jpg
forum1.jpg (446.18 KiB) Viewed 1121 times

Now when you are on the first node the previous arrow is hidden and when you are on the last node the next arrow is hidden

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Kay-Uwe Rosseburg
Posts: 34
Joined: Tue Jan 27, 2009 3:12 pm
Contact:

Hi Tony,
thanks for your hint, I already thought of something similar, but I was wondering, if there is an internal "property" I can look for via logic block in the skin. So it seems there isn't something like that, so I will use your workaround, thank you!

Greetings
Kay-Uwe
Post Reply