Click to See Complete Forum and Search --> : Javascript menu question


ahclem
04-26-2003, 12:28 PM
I've been trying to recreate the Tree Menu from a tutorial at:
http://www.projectseven.com/tutorials/swapclass/index.htm

I'm trying to do it with 5 menus instead of 2 as shown.

When the page loads all menus are expanded and will only contract when each is clicked on. After that, the menu works correctly.

What am I missing?

Here's the link for my test:
http://www.sover.net/~ahclem/treeview/test1b.htm

Thanks for any help!

Nevermore
04-26-2003, 01:18 PM
In the body tag put onload= and then, it quotation marks, put the code that is in the onclick event of the close all button.