Image Buttons

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Mark360
Posts: 39
Joined: Thu May 17, 2018 11:15 pm
Location: England and USA

Hi All

Ok I have a button I would like to act in a set way and do not seem to be able to make it work.

Normal is a dark shade
Mouse over is a lighter shade
Selected is red

When I mouse over the button it turns to the lighter shade.
When I press the button (or click) it turns red. The problem is that it does not stay red as I would like.
I have several numbers referring to levels and would like the user to know what level they have selected.

So what am I missing?
If it looks impossible you just have not found the right angle to view it from.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
You missing nothing, this is how the three states of the button works.

What you need to do is have two stacked images, one being a button image that has the Normal and Mouse over states the second image which is the selected/mouse click state.
You would stack them so the selected button image is under the button with the two states.
On mouse click you just hide the top, two state button leaving the selected state image showing.
Regards,
Hopki
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/
User avatar
Mark360
Posts: 39
Joined: Thu May 17, 2018 11:15 pm
Location: England and USA

Thank you for your response. Put me back on the right track.

I wanted to turn the number back to the original colour when another floor was selected. Which I did by just adding another action node change show element _self.

Still on a vertical learning curve!
If it looks impossible you just have not found the right angle to view it from.
Post Reply