Page 1 of 1

How to make a back button that goes to previous pano

Posted: Wed Jun 12, 2013 11:04 pm
by gwindle
Hello -

Is it possible to make a "back" button that will take the user to the previous pano without using multiple HTML pages?
http://gardengnomesoftware.com/forum/vi ... f=6&t=7299

Best

Greg

Re: How to make a back button that goes to previous pano

Posted: Thu Jun 13, 2013 12:50 am
by Tong
Hopki wrote:Hi Judy,
This is a good suggestion, please see Issue #584
The suggestion regarding the method with the user data will work.
However you have to use the node name that Pano2VR is looking for.
Example:

Code: Select all

{node1} {node2} {node3}
For the opening panorama/first node, put {node2} in the Source User Date text field then add a button in the skin with the action:

Code: Select all

Mouse Click => Open next Panorama => URL: $us => Pan/Tilt/FoV:
Then in Node 2 add {node3} in the Source text field.
Regards,
Hopki
http://gardengnomesoftware.com/forum/vi ... f=6&t=8438&

Re: How to make a back button that goes to previous pano

Posted: Wed Mar 01, 2017 1:50 pm
by Hrvoje
Hello

Sry for necro but this topic could be still useful.

I wonder is there a better way to achieve back option in most recent Pano2VR?
Maybe to add "Open Previous panorama" Action which would operate like onclick="window.history.go(-1); in HTML urls?
For example, I have several panoramas (Rooms) which points to same panorama (Bathroom) and I would like to create hotspot button which could return previously visited panorama.

Thanks,
Regards

Re: How to make a back button that goes to previous pano

Posted: Wed Mar 01, 2017 2:10 pm
by christoph
Hi!
Add a button to your skin and give it an action:
- Source: Mouse Click
- Action: Open Next Panorama
- URL: Last Visited Node
- View: ....

Regards,
Christoph

Re: How to make a back button that goes to previous pano

Posted: Wed Mar 01, 2017 2:33 pm
by Hrvoje
Hi Christoph

I created a copy of hotspot and changed URL parameter into: {$back}
Thanks a lot for fast answer. :D

Regards