$$("ul.myMenu, ul.myMenu ul").each(function(ele){
  Sortable.create(ele);
});






On Sep 26, 5:16 am, David <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want my customer to arrange menu and sub menus as he like it to be.
> So :
>
> <ul class="myMenu">
>     <li>First item</li>
>     <li>Second item</li>
>     <li>Third item</li>
>     <ul>
>         <li>First sub item</li>
>         <li>Second sub item</li>
>         <li>Third sub item</li>
>     </ul>
>     <li>Fourth item</li>
>     <li>Fifth item</li>
> </ul>
>
> Sortable.create('myMenu');
>
> But it take only the first level into consideration...
>
> Any ideas ?
>
> Thank you for your help
>
> David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to