Closed (won't fix)
Project:
DHTML Menu
Version:
6.x-3.5
Component:
Graceful degradation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Oct 2009 at 16:44 UTC
Updated:
12 Nov 2009 at 22:03 UTC
Comments
Comment #1
_vid commentedHere's my suggested fix:
Line: 20 in dhtml_menu.module;
I've tested it with success on my Mac: OS 10.5.8: with FireFox 3.5.3, Safari 4.0.3 and Opera 9.64
PC: Window's 7: IE8 and FF 3.0.14
Comment #2
_vid commentedUpdated suggestion;
I encountered a situation where it's better to refer to the root in the head.append so I added a slash before drupal_get_path.
Here's the updated code relative to the current release:
Comment #3
cburschkaThis is an interesting trick, but you can have that more easily - just set the menu to be expanded by default in the menu settings. DHTML Menu will (should) respect that setting and leave the menu as open.
I'm afraid the idea of statically expanding *all* menus is not in the scope of this module: It is supposed to enhance the page when JS is there, and do nothing otherwise - keep in mind that the navigation without JS is the same now whether or not DHTML Menu is disabled. It'd be an undocumented, unexpected and non-optional feature, which we usually class as "bugs". :)