Chapter 13. Hierarchical Menus: DOM and Main Functions
in this chapter
HM_ScriptDOM
The Main Functions
One thing HierMenus does quite well is handle all the various flavors of DOM the different browsers use. We'll see how the code does that in this chapter, and we'll also examine the main functions of the code and how they handle the creation of trees and menus. We'll start by looking at the file HM_ScriptDOM.js in detail.
Get Advanced JavaScript™: Insights and Innovative Techniques now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.