How to close a screen from another screen?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
deedee123
Posts: 286
Joined: Wed May 20, 2020 10:38 am
Location: NL

Hi,

I have a hotspot that clicks up a nice info screen with a picture and text. the box has the "X" that closes it again. However, if you click another hotspot of the same type, the second screen appears, but then i also want the first one to close, even when you don't click its "x" button.

I managed to do just that, i tried to trigger it just like the closing "X" but got a yellow exclamation mark that i had to add an "#" before the target name, and it worked, open one screen and the "old" one closed. however, the box own closing button stopped working, even when i added the "#"...

is there any standard trick for this? (basically: open an info box, which automatically closes any "old" boxes, without affecting their normal close button)

i hope the explanation makes sense. :)

best,
david
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi David,
It would be interesting to see how you have built this.
You would normally use the same popup for all the hotspots, but dynamically change the content depending on the hotspot.
Can you post your skin?
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply