DHTML Lab: Hierarchical Menus Ver. 2 - Addendum (v2.1) | 5
Hierarchical Menus Ver. 2 - Addendum (v2.1)
Click the links above to reveal menus.
Click the button above for frame-related mods.
statements, loading a page into any frame, frameset or full window.
Well, yes and no. Yes, because that is exactly what we include in the arrays. The menu in the frame example, that appears in a new window when you click the form button in the left column, uses this array:
No, because a problem arises when linkIt() executes its solitary statement:
menuLoc.location.href = this.linkText;
Our frame loading statements read like this:
The double load is apparent, so we must filter it out in this way:
That's it for now. Two additional lines and a lot more functionality. The complete code for Version 2.1 will be repeated on our final code page. Before that, a look at the features to be included in Version 3.
Produced by Peter Belesis andAll Rights Reserved. Legal Notices.
Created: June 29, 1998
Revised: July 24, 1998