Actions to hide/show pano

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
bherbes
Posts: 8
Joined: Sat Jun 30, 2018 11:06 pm
Location: Melbourne, Australia
Contact:

Actions to hide/show pano

Post by bherbes » Sun Jul 22, 2018 10:50 am

Newbie questions...

Q1
I have one special pano in my tour that by design is not linked to the main tour. I only want users to access it via a button. The question I have is which action do I apply to to the button hide/show that pano?
When I use MouseClick>OpenNextPano>PanoName it displays the pano as desired, but how do I set a second MouseClick on the same button and close the pano and ....reveal the last pano visited.

Q2 re containers
Can actions be targeted to containers and automatically hide/show every element within the container?
Or is it better to apply actions to all elements within a container.
Bruce Herbes | Wayfinding Specialist & Digital Cartographer | Melbourne Australia
profile: http://linkedin.com/in/bruceherbes | website:http://visualvoice.com.au | https://youareheremaps.com.au

User avatar
Tony
Posts: 622
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Re: Actions to hide/show pano

Post by Tony » Sun Jul 22, 2018 3:01 pm

Q1
I have one special pano in my tour that by design is not linked to the main tour. I only want users to access it via a button. The question I have is which action do I apply to to the button hide/show that pano?
When I use MouseClick>OpenNextPano>PanoName it displays the pano as desired, but how do I set a second MouseClick on the same button and close the pano and ....reveal the last pano visited.
Can this special pano be accessed from any of the nodes in the main tour? If so I presume you want that close button to return you to the specific node you came from?
Q2 re containers
Can actions be targeted to containers and automatically hide/show every element within the container?
Or is it better to apply actions to all elements within a container.
Yes actions can be targeted to containers (Parent) and the elements (Children) within that container will follow the action. You can see how child elements react in this example when you click on the 'Change Container Size' https://s3-ap-southeast-2.amazonaws.com ... index.html.

zoom_pan_multiple_14.jpg
zoom_pan_multiple_14.jpg (907.75 KiB) Viewed 220 times

Note: even though all of the elements have been scaled they still retain any actions assigned to them. The other attribute of a container is the fact that is can mask elements within it. You can also nest containers within containers!

Wherever possible I try to put elements that form a related unit within a container.

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 8 guests