Page 1 of 1

Image Buttons

Posted: Wed Jul 25, 2018 9:58 pm
by Mark360
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?

Re: Image Buttons

Posted: Wed Jul 25, 2018 10:33 pm
by Hopki
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

Re: Image Buttons

Posted: Thu Jul 26, 2018 2:23 am
by Mark360
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!