Dynamic Informational Button

Post Reply
vizgraphics
Posts: 8
Joined: Tue Mar 13, 2018 11:42 am

Sun Jan 13, 2019 6:38 pm

Hello,
I'm trying to make a dynamic informational button that is pinned to the hotspot. I have the pinned info box in place, and a close button for the info box. What I can't get is how to close the last clicked info box when another hotspot is pressed. Currently if an info box is open and you click another hotspot, it stays open. I want to only use one component for all info hotspots. I imagine there's a way I can achieve this with a variable but can't quite wrap my head around it.

Any help would be greatly appreciated. Skin attached. Thanks!
Attachments
zoom-pins-sample.ggsk.zip
(4.39 KiB) Downloaded 255 times
User avatar
Hopki
Gnome
Posts: 10159
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sun Jan 13, 2019 11:00 pm

HI,
Add this action to the hotspot template:
Source: Mouse Down
Action: Visibility
Type: Hide Element
Target: %information

Regards,
Hopki
Hopki
Garden Gnome Software 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/
vizgraphics
Posts: 8
Joined: Tue Mar 13, 2018 11:42 am

Mon Jan 14, 2019 5:47 pm

This is perfect thanks!!
Post Reply