[jQuery] AJAX Tree menu
[jQuery] AJAX Tree menu
Hi, I'm trying to build a collapsable tree menu using JQuery and the
AJAX plugin. Actually, my server is returning JSON.
What I want to happen is on page load, request the top level items for
the menu, and if a node has children, create a new ul for it. When the
item is clicked the children for that node are loaded and the sub list
is built. The problem I'm having is that when I click a node to get
the children, the parent li is clicked and the content for the parent
is retrieved again. I also want only the child/parent nodes of a
particular item showing, never more than one parent open.
Would someone like to take this on as a challenge? Eh eh, um... I can
post my code but I have to wait until Monday to get it from work.
Also, I think it'd be neat to see someone elses approach to the
problem. Here is an example of what I want to do:
http://developer.yahoo.net/yui/treeview/examples/menu.html?mode=dist
Any takers?
Matt
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/