nested sortable list with hierarchy
Hello,
I'm trying to create an interface to allow a user to rearrange the
pages of a website. This is a basically a bunch of nested <ul>
elements as I need to allow users to create sub navigation within the
navigation.
I've used jQuery's sortables many times but not for a nested list like
this. I can drag navigation up a level (eg. sub navigation to main
navigation) but I want to be able to drop one <li> element onto
another and it go into its sub navigation rather than just re-order
the main navigation. I need to be able to keep the default way of re-
ordering the elements that the sortables gives me.
I've tried using sortables with droppables but with no luck. Has any
one got any ideas or experience of doing this sort of thing? Will I
best best of recreating the sortable functionality using draggables
and droppables myself or is there another way.
Thanks very.