DHTML Lab: HierMenus CENTRAL: Version 3.x FAQ #12 - dhtmlab.com
Frequently Asked Question #12
Entered: May 30, 2000
How can I avoid the status bar displays that the HM script generates, that is: "Creating Hierarchical Menus: xxx" and "xxx Hierachical Menus Created"? |
The browser status bar displays the menu-building progress and a final message when the menus are ready. These are simply courtesy messages to keep the user informed.
The progress messages are created in the makeMenuNS() function for Navigator users and
function makeMenuNS(isChild,menuCount,parMenu,parItem) { . . . status = "Creating Hierarchical Menus: " + menuCount + " / " + menu.itemCount; . . . } function makeMenuIE(isChild,menuCount,parMenu) { . . . status = "Creating Hierarchical Menus: " + menuCount + " / " + menu.itemCount; . . . }
The final message is created in the
function makeTop(){ . . . status = (topCount-1) + " Hierarchical Menu Trees Created" . . . }
If you do not want any message to appear in the status bar, you can either:
delete the three lines above, or
place comments at the beginning of each of the three lines. For example:
// status = ...
Produced by Peter Belesis and
All Rights Reserved. Legal Notices.
Created: May 30, 2000
Revised: June 26, 2001
URL: https://www.webreference.com/dhtml/hiermenus/version3/faq/faq12.html