|
home / docs / archive / version 4 / instructions
HierMenus: Version 4 Setup Instructions
|
Need to know how to install HierMenus version 4 on your own Web pages? Follow these step-by-step instructions for perfect results.
|
With version 4.x, you have a choice when setting up your HierMenus. You
can make use of the new top_is_permanent
parameter and allow your HierMenus to be permanently visible on the page; or you can install
your menus in the more traditional manner by connecting them to in-page links using
onMouseOver and onMouseOut.
You can also combine the two techniques; having some menus that are tied to specific
existing links, and other menus that are created entirely by the HierMenus script and
appear permanently in a precise location on your page.
Whichever method you choose, you can use these simple instructions to install
HierMenus on your Web pages. Links to extra information pertaining to the specific parameters
are provided where appropriate.
The ordering of these steps is only a suggestion. Feel free to skip ahead, or
backtrack to previous steps as need be. We do, however, recommend that you at least skim these
instructions in their entirety before you proceed with the installation.
| Setting up the Version 4 Hierarchical Menus |
| 1. | Place the overhead, function-declaration script in the HEAD of your document. | Details |
| 2. | Configure the external HM_Loader.js script. | Details |
| 3. | (Optional) Configure and place the page specific variables script in the HEAD of your document. | Details |
| 4. | Define your menu arrays in an external file called HM_Arrays.js, remembering that top-level menu arrays have 21 extra elements. | Details |
| 5. | Place the menu loading script somewhere in your page. This script will conditionally load HM_Arrays.js and HM_Loader.js depending on the browser's capabilities. | Details |
| 6. | Define "hotspots" for mouseovers that display the menus using links in your page's regular HTML flow. | Details |
|
|