Closed (works as designed)
Project:
Advanced Taxonomy Blocks (abandoned)
Version:
6.x-1.2
Component:
User interface
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2008 at 05:07 UTC
Updated:
9 Jan 2009 at 19:40 UTC
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.