One menu for mouseover and click?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Posts: 157
Joined: Wed May 20, 2020 10:38 am

Sat Sep 18, 2021 11:33 am

Is there a single menu with submenu component that works for mouse and touch? (without duplicating the whole structure?).
I'm now using one that works with onclick ("Rollover Menu Click" component). Works o.k. for both, but for mouse use it feels not so intuitive that the subcategories don't show/hide on mouseover/out. would be more elegant if it does..
User avatar
Posts: 11939
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK

Fri Sep 24, 2021 10:03 pm

Hi David,
The menu would need to detect Has Touch and adjust accordingly.
What is needed is in the logic blocks that use the mouse over parent which would be used on a computer with a mouse, add an additional condition, saying only do this if Has Touch is false.

Then the mouse click actions to open the menu item which you would use on a touch screen device, you would have the action filter that would say only do this if Has Touch is true.
So using a combination of action filters and logic block conditions you use the Has Touch trigger to prevent clicks on the computer and then prevent mouse over on a touchscreen device.
Hope this makes sense.
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
Posts: 157
Joined: Wed May 20, 2020 10:38 am

Mon Sep 27, 2021 9:10 am

ok good i'm gonna try make it.
because the downloadable components "rollover menu click" and "rollover menu mouseover" are separate (but doing the same) i thought maybe it's not possible.
also there's some "cloner_close" and "cloner_tag" values in those components of which i'm not entirely sure what they do :) but tinkering there might break the working of it. i'll give it a try !
Post Reply