Page 1 of 1

Buuton selected, hotspot color and alpha

Posted: Sun Mar 31, 2019 10:27 pm
by CMignon
Hello,

1- I would like to have the button stay in seleted state once the mousse is pressed

2- How can I have the polygon hotspot changing color or alpha when the mouse enter the area

3- the popup image above my polygon seems to be unstable when it follow the mouse, how can I fix it

this is a link to my exemple

http://jojosx.free.fr/Icade/Antony/Icade_Antony.html

thanks

Re: Buuton selected, hotspot color and alpha

Posted: Mon Apr 01, 2019 11:49 am
by CMignon
Hello,
No one have an idea ?

Re: Buuton selected, hotspot color and alpha

Posted: Mon Apr 01, 2019 6:51 pm
by Hopki
Hi,
You can stack buttons onto of each other, example on mouse click hide one and show the other.
This will then keep this state until the page is refreshed or an action changes them back.
You can of course have mouse enter and leave actions to shoe one image and a mouse click to show another.
Or using a button with two states mouse normal and mouse over, then have the third image as a stacked image so on mouse click the button image hides showing the active state.

Poly hotspot fade in and out or colour change, with the current build of Object2VR you can not, its either visible or not.

Re Hotspot text, what look like is going on is the Mouse entering the text box so is leaving the poly which hides it, move the text box further the the right to avoid this.

Regards,
Hopki

Re: Buuton selected, hotspot color and alpha

Posted: Tue Apr 09, 2019 4:47 pm
by CMignon
Hopki wrote: Mon Apr 01, 2019 6:51 pm Hi,
You can stack buttons onto of each other, example on mouse click hide one and show the other.
This will then keep this state until the page is refreshed or an action changes them back.
You can of course have mouse enter and leave actions to shoe one image and a mouse click to show another.
Or using a button with two states mouse normal and mouse over, then have the third image as a stacked image so on mouse click the button image hides showing the active state.

Poly hotspot fade in and out or colour change, with the current build of Object2VR you can not, its either visible or not.

Re Hotspot text, what look like is going on is the Mouse entering the text box so is leaving the poly which hides it, move the text box further the the right to avoid this.

Regards,
Hopki
Hi,
Thanks it's an great help
is it possible to add a sequence of target like
Clic souris , Hide element, Target = button1;button2;button3 etc
instead of create an action for each button

Re: Buuton selected, hotspot color and alpha

Posted: Tue Apr 09, 2019 7:20 pm
by Hopki
Hi,
Depending on your naming convention you can use regular expressions.
See: https://ggnome.com/wiki/Using_regular_e ... e_elements

However using a button you can have an up and hover state, then on-click hide self and show active button.
The active button can have the action to hide self show normal button and turn off whatever it was used to turn on.
Regards,
Hopki