Hiermenus Go Forth, X - DHTML Lab | 4
Hiermenus Go Forth, X:
Version 4.0.3 - The Complete Script (Full-Window)
<SCRIPT> Tag Placement
Since our script now kicks in after page load, it can be placed anywhere in your page, the HEAD as well as the BODY. It is still recommended that it be placed at the end, however.
We will not be introducing any new features until all current features are solid. In Version 4.0.3, we have, however, introduced two new parameters that do not relate to features, per se, but improvements on what already exists.
Version 3 menu items had a link cursor if the item had an associated URL, in IE. We omitted this behavior in Version 4 since it was not possible in NS, and true OS menus do not have HTML-type cursors. Due to popular demand, we are restoring this behavior as an optional feature. If HM_ShowLinkCursor is set to true, IE and NS6 will display a link cursor over items that are links. The NS4 display will be unaffected.
Since the NS4 menu-creation speed may be slow, we have introduced HM_CreateTopOnly, which if set to true will cause only the top-level menus to be created upon page load. The remainder of any menu tree is created when needed, that is, when the user mouses over an item that has an associated child menu.
The "GL_" prefixed global parameters have been moved to HM_Loader.js. These apply to all pages and override the parameters set in the HM_a_Parameters array, which should now be regarded as browser-specific parameters.
The most popular questions regarding the script are still those posted in Column 42. Please refer to them.
There is one major outstanding issue which involves the correct evaluation of JS statements used in the declaration of parameters. The current algorithm seemed to foresee all the combinations I could think of. Your input has demonstrated that the combinations are infinite and a better algorithm is needed. This will be introduced in our next version. For now, please forward any JS statement evaluation problems to me using the link on the first page of this column, and use hard-coded or alternate methods of parameter value declaration.
If you don't know what the above refers to, it means you are not having problems, which is a good thing.
On the next page, the fixes included in Version 4.0.3.
Produced by Peter Belesis andAll Rights Reserved. Legal Notices.
Created: Jan 23, 2001
Revised: Jan 23, 2001