Page 1 of 1

Close button

Posted: Thu Dec 27, 2018 9:28 am
by mika.od

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 ?


Re: Close button

Posted: Fri Dec 28, 2018 6:54 am
by Tony
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.



Re: Close button

Posted: Mon Dec 31, 2018 4:41 pm
by mika.od
It's just perfect !

Thank you Tony. And happy no year !

Re: Close button

Posted: Mon Dec 31, 2018 10:10 pm
by Tony
Glad it worked and a Happy New Year to you too :D