[Proto-Scripty] Re: Further constraints in sortable

2008-10-15 Thread Lapis
Thanks for your reply! I can't think of how it would help me though. Perhaps i was unclear in what it is I want to do. I DO want to create sortable on ALL div class=block / elements, with options { tag: 'div', only: 'item' }. code div class=block !-- outer block -- div class=itemA/div

[Proto-Scripty] Re: Further constraints in sortable

2008-10-15 Thread Matt Foster
I see what you're saying now, the nested block element is the trouble. I can't remember exactly how it plays out, but there is a tree option in the Sortable config object, you might do well to look into that. http://github.com/madrobby/scriptaculous/wikis/sortable On Oct 15, 7:02 am, Lapis

[Proto-Scripty] Re: Further constraints in sortable

2008-10-14 Thread Matt Foster
Apply a more specific class to the top level element that you wish to make sortable. On Oct 14, 7:57 am, Lapis [EMAIL PROTECTED] wrote: Hi! I hope someone has a good idea that can help me here. I do Sortable.create(...) on some element (div class=block /) and pass tag: 'div' and only: