Page 1 of 1

Detecting first / last panorama of a tour

Posted: Thu Apr 08, 2021 11:45 am
by Kay-Uwe Rosseburg
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

Re: Detecting first / last panorama of a tour

Posted: Thu Apr 08, 2021 3:24 pm
by Tony
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 1283 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

Re: Detecting first / last panorama of a tour

Posted: Fri Apr 09, 2021 11:17 am
by Kay-Uwe Rosseburg
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