Close button

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
mika.od
Posts: 2
Joined: Thu Nov 22, 2018 5:09 pm

Hi,

I'm looking for creating un button that close on mouse click the window of the navigator in which is the virtual tour itself.

For explain, in my website gallery my virtual tours are opened in a new window. A close button will make the navigation easier to return to my gallery.

As anyone a solution ?

Regards,
Mika.
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Mika,

I presume you have an image with a link that opens a new window using _blank.

If so try this...

!. Add a new button to the skin
2. Create an action for it

Souce: Mouse Click
Action: Go to URL
URL: javascript:close();

3. Save the skin

When the new window is opened this button should close it.

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
mika.od
Posts: 2
Joined: Thu Nov 22, 2018 5:09 pm

It's just perfect !

Thank you Tony. And happy no year !
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Glad it worked and a Happy New Year to you too :D

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply