Detecting first / last panorama of a tour
Posted: Thu Apr 08, 2021 11:45 am
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
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