We are providing HierMenus to you at no cost. HierMenus code requires a confirmed membership with internet.com. Please register by clicking here and come back soon to download your free copy of HeirMenus code.
Click Here to Register

Site Navigation
Bulletins
About
Documentation
FAQ
Samples
Known Issues
Technology Jobs

internet.commerce

Partner With Us














          
internet.com

IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 
HierMenusCentral Enhance the Functionality of Your Web Site with DHTML HierMenus.
    

home / faq / faq 10

Frequently Asked Question #10

Question: HierMenus always waits until the HTML page is fully loaded before it creates menus. Is there any way I can force HierMenus to create the menus and make them available while the page is still loading? Also, there is a long pause just after the page loads, while HierMenus creates all the menus defined on the page. Is there any way to avoid this?

Answer: To answer the first question, no, there is not.

We have tried, at times in the past, to change the HierMenus menu creation logic such that menus could be generated while the HTML page loads. Unfortunately, with each attempt we've found that the menus were no longer created consistently enough for our needs; sometimes being displayed incorrectly, and other times adversely effecting other non-HierMenus elements on the page. Therefore, for stability and consistency reasons, HierMenus always waits until the HTML page is fully loaded before attempting to create menus. Until that time, permanently displayed menus will not appear, and menus tied to in-page links via onmouseover / onmouseout attributes will not appear, either.

As to the second question, you can set the CreateOnLoad parameter globally, or on a menu by menu basis, to control which menus are created immediately after the page finishes loading. By default, CreateOnLoad is true; all menus are immediately created just after the page finishes loading. Menus that have CreateOnLoad set to false will not be created until they are first called for. This will make the first appearance of the menu a little more sluggish than it would normally be (since the menu must be created on the fly when it is needed) but most users prefer the quicker loading page to the slightly sluggish first appearance of the menu. And, in fact, unless your menus are very large (12 menu items or more, for example) you may not even notice the delay in the first menu appearance (depending on your computer's speed, of course).

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/documentation/faq/faq10.html