View Full Version : Simple Tree menu - expand only on clicking image

05-08-2008, 07:12 PM
1) Script Title: Simple Tree Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

3) Describe problem:
I am using the simple tree menu javascript code for my menu which is present in the left frame of a page. Currently, the code expands a node when the top level element is clicked (folder 1, folder 2, etc..) However, I want each of the folders to be a hyperlink which opens up in the middle frame, and the menu to expand/collapse only when the images are clicked. I am new to javascript and am not sure how to modify the code. I found a couple of similar posts, but they did not have solutions. I cannot change my design to any other menu type. And I really need to get this working. Any help is appreciated. Thanks in advance.