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
Detecting first / last panorama of a tour
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
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
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
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/
-
- 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
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