Menu G5

Menu G5 is a dhtml menu package for general purpose. Besides its rich features and full cross-frame support, Menu G5 further differentiates itself from other menu scripts by separateing the menu content, the menu style (CSS) and the menu logic (position, alignment, direction, layout, behavior, floating, etc.) for easy maintenance.

 [ Download ]   [ Menu G5 Step-by-step ]   [ Menu G5 Examples ]   [ Documents ]   [ Update History ] 

Release:

  • Version : 5.6.5
  • Date: Jan. 24, 2007

Browser Support:

  • IE5+ (Windows & Mac.)
  • Gecko Browsers (Netscape6+, Mozilla, Mozilla Firebird & Firefox, Camino, etc.)
  • Opera7+
  • Safari

License:

  • Free if you put on your site index page a credit link back to my site, or buy a license via [ PayPal ] if a credit link is not an option to you.
  • Drop me a note at [ m_yangxin@hotmail.com ] if you need an unlimited license.

Major Features:

  • Unlimited number of menus on the same page.
  • Unlimited levels of sub-menus for a menu.
  • Separates menu content, menu style (CSS) and menu logic (position, alignment, direction, layout, behavior, floating, etc.) for easy maintenance.
  • Supports cross-frame menus in any frame layout.
  • Builds a menu "just-in-time", minimizes the delay of page loading and rendering.
  • Uses CSS for menu styling (images, fonts, colors, borders, paddings, etc.).
  • Supports IE filter effects at both menu level and item level.
  • CSS styles can be applied to individual menus and items
  • Supports absolute positioning, relative positioning and pre-defined slots positioning.
  • Supports long menu scrolling and sub-menu flip-into-view.
  • Supports dynamic creation and re-creation of menu contents and menus after page is loaded.
  • Supports change of item display, item link and item code on-the-fly.
  • Provides user functions for menu manipulation.

Download:

Menu G5 Step-by-step:

Menu G5 Examples:

Documents:

Update History:

    # 5.6.5 ... Jan. 24, 2007

  • fixed a bug in detecting item actual width in IE.

    # 5.6.4 ... Aug. 29, 2006

  • fixed a bug in cross-frame script for item focus detection.

    # 5.6.3 ... Jun. 27, 2006

  • updated sub-menu look-up mechanism.
  • updated IE/Opera version detection.

    # 5.6.2 ... Jan. 26, 2006

  • fixed a bug in cross-frame script for FireFox.

    # 5.6.1 ... Jun. 15, 2005

  • fixed a minor syntax bug.

    # 5.6.0 ... May 16, 2005

  • added an option to take right/bottom border as reference point for sub-menu alignment in cross-frame menus.
  • IE/Opera now return offsetWidth instead of clientWidth for window width.
  • IE/Opera now return offsetHeight instead of clientHeight for window height.

    # 5.5.5 ... Mar.30, 2005

  • added a workaround for the IE SP2 cross-frame access bug.

    # 5.5.4 ... Feb.23, 2005

  • added the feature that shift-click will open the link in new window.

    # 5.5.3 ... Jan.24, 2005

  • added browser detection of Opera 8.

    # 5.5.2 ... Oct.31, 2004

  • fixed a bug that the cursor CSS didn't apply.

    # 5.5.1 ... Oct.05, 2004

  • fixed a bug in handling cross-frame image tiles.
  • fixed a bug in handling empty sub-menus.

    # 5.5.0 ... Jul.02, 2004

  • added support of Safari.
  • added support of the "supportSafari" variable in the path script, when it's set to 0 (default is 1), Safari won't show the menu.
  • added support of IE5/Mac.
  • added support of the "supportIEMac" variable in the path script, when it's set to 0 (default is 1), IE/Mac won't show the menu.
  • revised the mouseover behavior for sub-menu items.

    # 5.4.5 ... Jul.01, 2004

  • fixed a bug in detecting the Opera browser.
  • implemented the workaround for IE memory leak issue.

    # 5.4.4 ... Jun.08, 2004

  • fixed a bug in cross-frame menu floating.
  • changed item event to be triggered on mouseover.

    # 5.4.3 ... May 20, 2004

  • fixed a bug in sub-menu alignment for cross-frame menus.

    # 5.4.2 ... May 12, 2004

  • added support of background tiles for menu pads.
  • added support of the second icon for menu items.
  • added support of text as icons and sub-menu tags.
  • fixed a bug in calculation of minimum width.

    # 5.4.1 ... May 07, 2004

  • improved control of IE filters.
  • minor fixes.

    # 5.4.0 ... May 02, 2004

  • added support of multiple columns and rows of menu items.
  • fixed a bug in menu item overflow.
  • changed signature of initMenu("ins", "mode", "frame-name") to initMenu("ins", "mode", frame-path)

    # 5.3.3 ... Apr.21, 2004

  • fixed a bug in target frame checking.
  • improved html form input in info item.

    # 5.3.2 ... Apr.06, 2004

  • added support of the "inheritStyle" variable in the path script, for a menu that does not link to a menu style, if this variable is set to 1 (default), the menu will use the parent menu's style, if this variable is set to 0, the menu will use style set by the setDefaultStyle() call.
  • added support of the "minimumWidth" variable in the path script, when a menu is using actual item width, this variable defines the minimum width in pixel for the items (default is 0).

    # 5.3.1 ... Apr.06, 2004

  • fixed a bug that in some special situation the item style won't apply when a menu shows up for the first time.

    # 5.3.0 ... Apr.03, 2004

  • added support of highlighting "page-path" of the current page.
  • reduced the use of onePixel.gif.
  • added support of the "showMessage" variable in the path script, when it's set to 0 (default is 1), no status message will be shown.
  • added support of the "showToolTip" variable in the path script, when it's set to 1 (default is 0), tooltip will be shown for the menu items.
  • added support of the "onePixelGIF" variable in the path script, when it's set, Menu G5 will use it as the one pixel image (default is onePixel.gif).
  • added support of the "assumeFrameset" variable and the "framesetURL" variable in top-menu frame of a cross-frame menu, when the control frameset is not found and assumeFrameset is set to 1 (default is 1), Menu G5 will assume the top frameset as the control frameset, otherwise loads the page set by the "framesetURL" variable.
  • added support of the "baseFrameset" variable in the path script, when it's set, the target frame for links will be searched from there (default is from the control frameset).
  • added a new user function: setSubFrameName("ins-name", "sub-menu-frame-name").
  • changed interface for updateItemDisplay(), updateItemLink() and updateItemCode().
  • added support of updateItemDisplay(), updateItemLink() and updateItemCode() to cross-frame menu.
  • fixed a bug in cross-frame menu that when a non-HTML document is loaded into the target frame, links could afterwards open in new window instead of the target frame.
  • fixed a bug in cross-frame checking when a non-HTML document is loaded into the target frame.

    # 5.2.10 ... Feb.27, 2004

  • fixed the filter issues in the IFRAME workaround for IE.

    # 5.2.9 ... Feb.19, 2004

  • fixed a bug in detecting border/padding size in cross-frame scripts of IE/Opera.

    # 5.2.8 ... Feb.10, 2004

  • fixed a bug in the IFRAME workaround for IE.

    # 5.2.7 ... Jan.25, 2004

  • fixed a bug in cross-frame IE scripts that transition filters don't play.

    # 5.2.6 ... Dec.10, 2003

  • fixed a bug in Netscape7.02 in cross-frame script that page reloading would have the cover image size-down.

    # 5.2.5 ... Dec.10, 2003

  • fixed a bug in targeting a link in cross-frame script.

    # 5.2.4 ... Dec.09, 2003

  • fixed a bug in the "highlight:no" handling.
  • fixed a bug in pad rendering in IE.
  • fixed a bug in the SELECT/OBJECT/EMBED detection.

    # 5.2.3 ... Dec.04, 2003

  • added the tool tips for menu items.
  • fixed a bug in the IFRAME workaround for IE.

    # 5.2.2 ... Nov.28, 2003

  • fixed a bug in positioning IFRAME in IE.
  • fixed a bug in adjusting menu item size.
  • revised some internal codes.

    # 5.2.1 ... Nov.25, 2003

  • fixed a bug in offset calculation for Opera.
  • fixed a bug in frame page checking for Opera.

    # 5.2.0 ... Nov.24, 2003

  • added two new user functions for cross-frame menus: getLeft() and getTop();
  • added cross-frame support.
  • changed to not collapse the menu when clicking on the menu pad or separator.
  • changed to take over the onresize/onclick events when the first menu is shown, instead of when the script is loaded.

    # 5.1.10 ... Nov.14, 2003

  • fixed a z-index bug in Netscape6.
  • adjusted the sub-menu flipping position.
  • added four new user functions: closeMenuNow(), updateItemDisplay(), updateItemLink() and updateItemCode().
  • added support of CSS cursor settings in addStyleItem().
  • fixed a bug in playing transition filters in IE5.5 and IE6.

    # 5.1.9 ... Nov.13, 2003

  • fixed a bug in playing transition filters in IE5.0.
  • fixed a bug in offset calculation.
  • added "abs-center" option to the "direction:" phrase in addStylePad() and addInstance().
  • changed position adjusting to accept alignment options when menu items have different sizes at different stages.

    # 5.1.8 ... Nov.12, 2003

  • solved the "flash-show-through-menu" issue in IE5.5 and IE6.

    # 5.1.7 ... Nov.12, 2003

  • made a compact version of the scripts to reduce file size (use menuG5LoaderX.js).
  • added support of position adjusting when menu items have different sizes at different stages.
  • renamed slideBack() to slideMenuBack();

    # 5.1.6 ... Nov.09, 2003

  • changed menu scrolling to accept "both", "x-only", "y-only" and "none".
  • simplified the offset calculation in IE script and Opera script.
  • added a new user function: slideBack().
  • enhanced on-menu-close event handling.
  • fixed a floating menu bug in page reloading.
  • changed sub-menu flip-into-view to be optional.

    # 5.1.5 ... Nov.07, 2003

  • added a new user function: switchMenu().
  • fixed a bug of item width for separators.
  • corrected a typo in IE script.
  • simplified the codes a bit.

    # 5.1.4 ... Nov.05, 2003

  • added group ID to separator items.
  • added support of re-creation of menu content and menu instance.
  • sub-menus now inherit menu style from parent menu if not specified.

    # 5.1.3 ... Nov.03, 2003

  • added a Stop() call to IE transition filters.

    # 5.1.2 ... Nov.02, 2003

  • solved the "form-select-lists-show-through-menu" issue in IE5.5 and IE6.
  • fixed a resizing bug in IE6 when a page has a DTD line.
  • added support of transparent effect in pad holder class for Gecko browsers.
  • fixed a bug in menu floating.

    # 5.1.1 ... Oct.31, 2003

  • made sub-menu items mousedown-able.
  • minor fixes for menu without CSS definition.
  • minor fixes for applying CSS classes for font styles.
  • added support of IE transition filters for sub-menu tags and image icons.

    # 5.1.0 ... Oct.30, 2003

  • added two new user functions: setHolder() and setCoordinates().

    # 5.0.1 ... Oct.29, 2003

  • had icon layer created before tag layer.
  • fixed a bug in IE script that showed extra space with BasicImage filter.

    # 5.0.0 ... Oct.28, 2003

  • changed to use external CSS definition for menu styling.
  • added support of IE filter effects.
  • made image icon part of the menu styling calls.
  • added support of mousedown effect for item, icon, tag and text.
  • added support of image as separator.
  • fixed some minor problems of sub-menu positioning.
  • dropped support of IE4, IE/Mac and Netscape4.