How to make a back button that goes to previous pano

Q&A about the latest versions
Post Reply
gwindle
Posts: 26
Joined: Mon Jan 25, 2010 10:53 pm

How to make a back button that goes to previous pano

Post by gwindle » Wed Jun 12, 2013 11:04 pm

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

Tong
Posts: 313
Joined: Fri Apr 13, 2012 9:30 pm

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

Post by Tong » Thu Jun 13, 2013 12:50 am

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&

User avatar
Hrvoje
Posts: 133
Joined: Sat Feb 28, 2009 7:34 pm
Location: Zagreb, Croatia
Contact:

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

Post by Hrvoje » Wed Mar 01, 2017 1:50 pm

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

christoph
Gnome
Posts: 88
Joined: Mon Aug 20, 2012 3:01 pm

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

Post by christoph » Wed Mar 01, 2017 2:10 pm

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

User avatar
Hrvoje
Posts: 133
Joined: Sat Feb 28, 2009 7:34 pm
Location: Zagreb, Croatia
Contact:

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

Post by Hrvoje » Wed Mar 01, 2017 2:33 pm

Hi Christoph

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

Regards

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 10 guests