Will there be some kind of "fall down" for users which have javascript disabled?
I tested it with your example,
and the visible/open links still work, but you can't open new trees anymore.
Will there be some kind of "fall down" for users which have javascript disabled?
I tested it with your example,
and the visible/open links still work, but you can't open new trees anymore.
Comments
Comment #1
PixelClever commentedOpening a link without a page reload requires Javascript, so there really isn't a way around that. The menu still works without javascript, however it just acts like normal Drupal collapsed menus.
However if you just want the user to see something other than the plus symbol if javascript isn't enabled then you could accomplish this with CSS in your theme. There is a class called ".js" added to the page automatically if your browser has javascript, so to override the modules javascript you would just need to look at the css file that ships with jquery menu, and override the classes in your theme. Don't touch the actual jquerymenu.css file though.
The way I would handle it would be to override the normal state with a class that only exist in your theme, for example
The above code is more specific than the module and will insure that if js is in place this code will override the following code which you would add after the first style:
You would do this for both the open and closed styles.
With this pattern you can control what the user sees when Javascript is not enabled. I am not going to add any extra code to the module itself. The way the menu is themed when javascript is disabled is really just a question of preference and should be handled by the theming layer.