Buuton selected, hotspot color and alpha

Q&A about the latest versions
Post Reply
CMignon
Posts: 3
Joined: Wed Mar 27, 2019 12:44 pm

Buuton selected, hotspot color and alpha

Post by CMignon » Sun Mar 31, 2019 10:27 pm

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

CMignon
Posts: 3
Joined: Wed Mar 27, 2019 12:44 pm

Re: Buuton selected, hotspot color and alpha

Post by CMignon » Mon Apr 01, 2019 11:49 am

Hello,
No one have an idea ?

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

Re: Buuton selected, hotspot color and alpha

Post by Hopki » 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

CMignon
Posts: 3
Joined: Wed Mar 27, 2019 12:44 pm

Re: Buuton selected, hotspot color and alpha

Post by CMignon » Tue Apr 09, 2019 4:47 pm

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

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

Re: Buuton selected, hotspot color and alpha

Post by Hopki » Tue Apr 09, 2019 7:20 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests