Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How do I trigger visibility of the dropdown menus on mouseover - rather than click-first-then-mouseover?
Comments
Comment #1
dirkson CreditAttribution: dirkson commentedSubscribe
Comment #2
tawebworks CreditAttribution: tawebworks commentedOK. How do I do so?
Comment #3
wretched sinner - saved by grace CreditAttribution: wretched sinner - saved by grace commentedThe subscribe means that they are also interested in the solution, so they are subscribing to the issue.
Comment #4
wretched sinner - saved by grace CreditAttribution: wretched sinner - saved by grace commentedThe solution is to ensure that you have selected for the menu items to be expanded at admin/build/menu-customize/primary-links. If they are not expanded, the menus will not drop down. If they are expanded, they will.
Comment #5
tawebworks CreditAttribution: tawebworks commentedThank you for your response!
Comment #6
wretched sinner - saved by grace CreditAttribution: wretched sinner - saved by grace commentedComment #7
tawebworks CreditAttribution: tawebworks commentedOK, now for the next level question:
Is there a way to have the Primary links automatically expanded on rollover in the tab menu - but expanded in the sidebar menu only when the topic is selected?
Comment #8
wretched sinner - saved by grace CreditAttribution: wretched sinner - saved by grace commented@tawebworks
Only by having 2 different menus for them.
Comment #9
tawebworks CreditAttribution: tawebworks commentedSo if the tabs are "Primary Links" and the sidebar first is "Navigation" for example?
If yes, then when I select a sublink of one of my Primary Links, it will expand that topic in the Navigation menu?
I'm happy to give it a shot, but am wondering if I'm missing something here.
Comment #10
wretched sinner - saved by grace CreditAttribution: wretched sinner - saved by grace commentedIf you duplicate the links you have in the Primary Links menu in the Navigation menu, then the operate independently yes. Make sure that the links in the Primary Links menu are set to Expanded and, not set to expanded in the Navigation menu. Then when you select them in the Navigation menu, or use the Primary Links to go to the page, they will be expanded to the correct level in the Navigation menu.
Comment #11
tawebworks CreditAttribution: tawebworks commentedI wound up defining a completely separate menu so I wouldn't get confused between administrator navigation and the new one. Works like a charm.
Thanks!
Comment #12
jwolf CreditAttribution: jwolf commentedComment #13
Toddv CreditAttribution: Toddv commentedThis helped me - thanks but I just wanted to clarify - to get the Primary Links to expand on mouse-over I did this: Go to Administer>Site Building>Menus. At this point a note: if none of your primary link menus are already set to "expanded" you won't see the option to customize. So Choose one of your primary links menus then Edit, toggle the option to "expanded". Now, at least in my configuration, the rest of the primary links have a check box to enable them to be expanded. Worked like a charm and thanks for the tip.
Comment #14
jwolf CreditAttribution: jwolf commentedComment #15
najibx CreditAttribution: najibx commentedHi .. dropdown menus on mouseover is shown. However, The actual primary menu is now disable. One click does bring to anyway. Gotta click twice. Some users may not understand that ..can we set as normal behavior, one click that is?
TQ
Comment #16
najibx CreditAttribution: najibx commentedI actually had DHTML menu module enabled with check "Go to the page on double-click." Without DHTML menu enable at all ... no problem. This issue reported/fixed anywhere?
Comment #17
alecbrindell CreditAttribution: alecbrindell commentedHi. This did not work for me. I tried the same primary links in a different theme and they did indeed drop down.