Changelog
Version 1.3.1
[15-07-2009] Very important bug fix for Internet Explorer.
Apparently the whole script did not work due to the performance improvements in version 1.3. All should be fixed now! (And I strongly recommend to update as soon as possible!)
Version 1.3
[27-06-2009] In this release you can find the first feature request I ever got, and solutions to some minor flexibility issues I ran into myself:
- Added a (configurable) pause before showing the submenu (default: 0, backward-compatible)
- The "menu_open" class for hover styles is now being applied to both the LI and A elements
- Fixed minor bug concerning 'remembering' active submenus (multi-level)
- Now using more native JavaScript where possible to improve performance
Version 1.2
[13-04-2009] Only one change, but an important one:
- Now supports multi-level submenus.
Version 1.1
[21-06-2008] Major improvements: configurable, no need to handle your own DOM events, vertical menus!
- Support for prototype version 1.6, skipping deprecated 1.5 functionality (still supported though)
- Menu.init() now takes two arguments: [string menuId, [object options]]
- Menu.init() no longer has to be called on window onload, but handles this event internally
- Support for vertical menus (in addition to horizontal)
- Menu.setHidePause() is deprecated in favor of an initialisation option
- Height of the menu (and width when vertical) is no longer hard coded, but calculated on expand
- Added support for submenu transparency
- Several small code improvements
Version 1.0
[19-08-2007] Initial release. Built for the new Hydra website, used on many others
- Now features a single Menu class
- Requires prototype version 1.5.*
- Pause before hiding the submenu is now configurable
- Now uses a "menu_open" class for hover styles
- Adds a "submenu" class to menu nodes that have a submenu
- The height of the menu has to be hard-coded into the JavaScript
- Menu.init() has to be called on window onload
Version 0.5
[19-04-2007] Custom built for Europunk.net. Inspiration and code base for Menu.js
- Does not uses prototype, only JavaScript native functions
- It is not class based, just a set of functions
- The hover/expand styles are hard-coded within the JavaScript