 readme  id readmetxt v 112 20071029 163828 add1sun exp nice menus module css dropdowns currently maintained by addison berry add1sun http drupalorg user 65088 contact orginally created by jake gordon jakeg http drupalorg user 15674 contact and http wwwjakegcouk this module should make it easy to add dropdown menus using cssonly in capable browsers firefox opera safari etc and with additional javascript for lesser browsers ie nice menus should work with all of the latest browsers but please report any bugs feature requests etc at http drupalorg project issues nicemenus installation 1 copy nicemodules folder to your sites all modules directory 2 at administer site building modules admin build modules enable the module 3 configure the module settings at administer site configuration nice menus admin settings nicemenus 4 configure the nice menus block s at administer site building blocks admin build block setting the source menu and menu style etc 5 return to the blocks page and enable the nice menus block s eg nice menu 1 nice menu by putting it in a region 6 see below sections on customization and advanced theming as well as the handbook page http drupalorg node 185543 for more tips upgrade please read the upgradetxt file for upgrade information features up to 10 menus through settings you can configure the number of nice menus horizontal menus or vertical menus popping right or left simple default styling which can be overridden using your own stylesheet issues because this module tries to be as javascript light as possible various wishlist features cannot be added that are nor supported by css only the menus may not work perfectly with all themes try nice menus out with the default garland or bluemarine first to check it works there it should before filing a bug report or trying to write a patch for other themes track bugs at http drupalorg project issues nicemenus categories bug try adding blocknicemenus position relative or blocknicemenus position absolute to a stylesheet which may fix some issues general issues with gaps between menu items in some custom themes customization the module includes a default css layout file nicemenusdefaultcss which is loaded for all pages if you don t like the default layout it is suggested that you create a separate customized css file and replace the default css file at administer themes configure global settings path to custom nice menus css file this ensures smooth future upgrades as no editing of the module files is necessary note you should not edit the regular nicemenuscss file since this contains the logic that makes nice menus work a good starting point for your custom file is to make a copy of the default file then edit it to taste here are some common customization examples for your own stylesheet make hovered links white with a black background ulnicemenu li a hover color white background black make the link to the current page that you re on black with yellow text ulnicemenu li aactive color yellow background black get rid of all borders ulnicemenu ulnicemenu ul ulnicemenu li border 0 get rid of the borders and background colour for all toplevel menu items ulnicemenu ulnicemenu ul ulnicemenu li border 0 background none ulnicemenuright limenuparent ulnicemenuright li limenuparent background url arrowrightpng right center norepeat limenuparent li limenuparent ul background eee have a nice menu stick right at the top of the page eg for an admin menu blocknicemenus1 position absolute top 0 left 0 in firefox as above but where the menu doesn t move as you scroll down the page blocknicemenus1 position fixed top 0 left 0 that should get you started really this is just about knowing your css and styling it the way you want it advanced theming if you re creating or modifying your own theme you can integrate nice menus more deeply by making use of these functions themenicemenu themes any menu tree as a nice menu themenicemenuprimarylinks themes your primary links as a nice menu if you really know what you re doing you can probably even customize the menu tree in creative ways as those functions allow you to pass in a custom menu tree 