Closed (duplicate)
Project:
DHTML Menu
Version:
6.x-3.4
Component:
User Interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2009 at 13:32 UTC
Updated:
5 Dec 2009 at 23:28 UTC
but should be closed. What's wrong? I got three menus and after refreshing page second is always expanded. I want it closed? What should I do?
Comments
Comment #1
cburschkaI need more details. :) There are two reasons a menu can start out as expanded when you load a page:
- You opened it on a previous page and never closed it. DHTML Menu stores the state of opened menus with a cookie, so the menu will remain open on new pages.
- You are on a page whose menu item lies inside the menu. This is called the "active trail", and menus containing the active trail are always opened so you don't lose your place on the site.
If neither of this happened, then you may have a bug. If it's one of the above, then unfortunately you can't disable either of these right now, but a feature for it is in development.
Comment #2
gunzip commentedi have the same problem. dhtml menu is always expanded. i've tried closing all menus then navigating to other pages (which aren't active trails) and the menu is always expanded. if you tell me what details do you need i can give them to you.
Comment #3
gunzip commentedwell, the issue was due to the override of the display:none properties of li.start-collapsed in another css.
i fixed this putting "$('li.start-collapsed ul').hide();" in the javascript code.
Comment #4
-Anti- commentedHi,
This sounds like it could be related to an issue I'm having: http://drupal.org/node/601802
Not only are all my menus expanded, but the parents require two clicks in order to collapse.
I don't understand your fix.
I cannot find li.start-collapsed anywhere.
Also, which javascript did you patch and what line?
Comment #5
twsanders commentedHaving the same problem, not sure why but some of my menus will remain expanded all the time even when they are not supposed to! would Appreciate a fix for this, It seems to be a random problem. Thanks Tom
Comment #6
jaypanConversely, I'd like to know how to set this (open expanded) on a menu by default!
Comment #7
XaraX commentedI'd also like to know how to open a menu expanded. Any solutions?
Comment #8
jaypanI think I found it, though I'm going off memory:
admin->build->menus
Choose the menu you want. In there you can choose to start menu items expanded.
Comment #9
cburschkaAppears to be a duplicate of this closed issue: #344958: Expand items that are set to be always expanded.