Thursday 16 September 2004 5:58:58 am
Hi, I have a javascript tree menu for navigation on my site. But I have a small problem. When I fetch the nodes for the menu, I would like to use the same sorting as the admin for all folders and subfolders. (like the sort_by, $node.sort_array, but here I would like $node to change so I get the correct sorting for all subnodes) Something like this (if I had choosen alphabethic sorting) I would like:
Anode
-- Asubnode
-- Bsubnode
-- RSubnode
Bnode
-- Asubnode2
-- Bsubnode2 -- Rsubnode2 Right now I think i get the result like this:
Anode
Asubnode
Asubnode2
Bnode
Bsubnode
Bsubnode2
RSubnode Rsubnode2 Anyone understand what I mean? And maybe even have a solution :-) Thanks
|