Hi I want to implement collapsible lists as shown below. Can anyone give me some code fragments of how to implement it in JSP/javascript ? On clicking Marketing/Finance/Accounts the items related to each will be displayed(expanded) otherwise will remain hidden(collapsed)
+ Marketing + Finance + Accounts *************** - Marketing - K Holmes - S Smith + Finance + Accounts *************** + Marketing - Finance - A Adams - L louise + Accounts *************** + Marketing + Finance - Accounts - K Kim - B Bolton
No one is going to write the code for you. You'll get better responses if you try to do the work yourself and then ask questions on the pieces that have you stumped.
This guy is serious about his javascript tree menus, I think this is a good place to start: http://www.treemenu.com/ I've used it before, I ended up tweaking it a little but its some solid code.