Hi All,

 

I'm using scriptaculous for the first time. I'm creating a CMS where the user can simply drag menu items to change the order. This is all simple enough. My problem comes with nested menus. The sortables are fine within their own menu but not across other new menus. The reason for this is that I'm using AJAX and only create a sub menu when it's parent is clicked on so I can't list all the containments up front for each list.

 

I need to be able to add new sub menus to the containment of previous lists. Any one have any idea how to do this?

I see there's a Droppable.add, but I can't see how to make this work for my sortable containment ...

 

Any help much appreciated

 

Regards

 

Duncan



Express yourself instantly with MSN Messenger! MSN Messenger
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to