Hi there,
Could someone please suggest which logic is used to show / hide all the hotspots. I have the buttons, but cannot work out the logic block. Tried using "visibility" but must be doing something incorrect.
Much appreciated,
Marc
Hide / Show hotspots - logic
- Hopki
- Gnome
- Posts: 13042
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Marc,
You can use a variable.
Then a button to toggle the variable.
Then each Hotspot Template has a visible logic block.
See attached project.
Regards,
You can use a variable.
Then a button to toggle the variable.
Then each Hotspot Template has a visible logic block.
See attached project.
Regards,
- Attachments
-
- project.zip
- (13.23 KiB) Downloaded 112 times
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/
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/
Thanks Hopki,
That's the approach I eventually went for last night, as I could see no other alternative.
I was trying to keep the components (hotspots) separate from the button which turns visibility off / on, so they're more encapsulated. E.g. something like "Mouse Click->Visibility -> Toggle Element Visibility -> %hotspot", so the hotspot components are not linked to the visibility buttons and can be installed independently. However, I couldn't get the above (or various combinations) method to work.
I'll go with the global variable, as it works.
Many thanks,
Marc
That's the approach I eventually went for last night, as I could see no other alternative.
I was trying to keep the components (hotspots) separate from the button which turns visibility off / on, so they're more encapsulated. E.g. something like "Mouse Click->Visibility -> Toggle Element Visibility -> %hotspot", so the hotspot components are not linked to the visibility buttons and can be installed independently. However, I couldn't get the above (or various combinations) method to work.
I'll go with the global variable, as it works.
Many thanks,
Marc
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
hi Hopki,
I downloaded your script and test it.
As I've seen it was ok for my needs, I copy and paste the text field named "button" with "Toggle variable button" as a label into my project.
But when I run it, nothing happens.
Did I miss something?
Probably I guess
Regards.
I downloaded your script and test it.
As I've seen it was ok for my needs, I copy and paste the text field named "button" with "Toggle variable button" as a label into my project.
But when I run it, nothing happens.
Did I miss something?
Probably I guess
Regards.
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
(sorry, no translation available yet!)
- Hopki
- Gnome
- Posts: 13042
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Make sure the variable is in the skin, "vis_hs", then set the visible logic block in the Hotspot Templates.
Select the Hotspot Template (1)
Select the Visible Logic Block (2)
Select the condition that when the variable vis_hs is false the visibility is also false.
Regards,
Make sure the variable is in the skin, "vis_hs", then set the visible logic block in the Hotspot Templates.
Select the Hotspot Template (1)
Select the Visible Logic Block (2)
Select the condition that when the variable vis_hs is false the visibility is also false.
Regards,
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/
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/
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
Hi,
Thank you for the answer.
I'll try to do as you say.
Regards,
Thank you for the answer.
I'll try to do as you say.
Regards,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
(sorry, no translation available yet!)
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
Hi,
I think I've done all you said, step by step, but still, il doesn't work.
It drives me almost crasy
Anyway, have a good day and thanks for your help.
Regards,
I think I've done all you said, step by step, but still, il doesn't work.
It drives me almost crasy
Anyway, have a good day and thanks for your help.
Regards,
- Hopki
- Gnome
- Posts: 13042
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi dePassage66,
Please send your support package to support@ggnome.com
This is found under the Help menu, Create support package.
Make sure you add a description of the issue or link to this forum post.
Regards,
Please send your support package to support@ggnome.com
This is found under the Help menu, Create support package.
Make sure you add a description of the issue or link to this forum post.
Regards,
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/
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/
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
Hi Hopki,
I send it to the support like you said.
I hope they will find out what's going wrong with what I've done and that I will understand the logic of the process because the software is not easy for a non programmer like me...
Have a good day,
Cheers,
I send it to the support like you said.
I hope they will find out what's going wrong with what I've done and that I will understand the logic of the process because the software is not easy for a non programmer like me...
Have a good day,
Cheers,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
(sorry, no translation available yet!)
- Hopki
- Gnome
- Posts: 13042
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi dePassage66,
Thank you for sending your support package.
When we looked at your skin we saw you added the variable to the skin, vis_hs, so that is good.
Then we saw you added a text box to be used as a button, this has the correct action that toggles the variable value to true and false, also good.
Looking at the Hotspot Template ht_node, this also has the variable, vis_hs which has the correct visible logic block, this is good.
So using your skin with a test project, clicking the text box/button does hide and show the point hotspot hs_node, so it works as should.
Note, all the other Hotspot Templates have the Logic Block condition, vis_skin, so these will not hide and show.
What you need to do is add the variable to this condition.
So now if the vis_hs is toggled to false, this hotspot will hide.
So you had it, you just need to add the extra condition to the visible logic blocks of all the Hotspot Templates.
Regards,
Thank you for sending your support package.
When we looked at your skin we saw you added the variable to the skin, vis_hs, so that is good.
Then we saw you added a text box to be used as a button, this has the correct action that toggles the variable value to true and false, also good.
Looking at the Hotspot Template ht_node, this also has the variable, vis_hs which has the correct visible logic block, this is good.
So using your skin with a test project, clicking the text box/button does hide and show the point hotspot hs_node, so it works as should.
Note, all the other Hotspot Templates have the Logic Block condition, vis_skin, so these will not hide and show.
What you need to do is add the variable to this condition.
So now if the vis_hs is toggled to false, this hotspot will hide.
So you had it, you just need to add the extra condition to the visible logic blocks of all the Hotspot Templates.
Regards,
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/
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/
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
Hi Hopki,
Thanks a lot for the explainations !
I'll follow your teaching tomorrow and let you know if it's ok.
Regards,
Thanks a lot for the explainations !
I'll follow your teaching tomorrow and let you know if it's ok.
Regards,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
(sorry, no translation available yet!)
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
Hi Hopki,
I've got it !!!
After some tries, I understood the way it works (I mean "I think I understood" ) but I can expect some other surprises !
Thanks a lot for your help otherwise I would have pasted hours and hours without success.
I've watch lots of your webinar before to buy this software, but it's a long way beetwen watching a video and realizing what it shows...
Have a good day,
Regards,
I've got it !!!
After some tries, I understood the way it works (I mean "I think I understood" ) but I can expect some other surprises !
Thanks a lot for your help otherwise I would have pasted hours and hours without success.
I've watch lots of your webinar before to buy this software, but it's a long way beetwen watching a video and realizing what it shows...
Have a good day,
Regards,
- Attachments
-
- Capture d'écran 2023-10-06 093252.png (92.77 KiB) Viewed 2942 times
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
(sorry, no translation available yet!)