[jQuery] Re: Sortables (interface plugin)

2007-07-25 Thread Richard D. Worth
This seems to work: $('ul').each(function(i) { var className = 'sort' + i; $(this).children("li").addClass(className); $(this).Sortable({accept: className}); }); As far as building this into sortables, time is likely better spent on jQuery UI sortables rather than Interface. Interface is stil

[jQuery] Re: Sortables (interface plugin)

2007-07-24 Thread rayfidelity
So what would be an alternative (if there is one)? Any suggestions on how to easily implement this feature? On Jul 24, 4:26 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > It's not going to be super easy as there's no built-in support for nested > sortables in Interface. The accept option may

[jQuery] Re: Sortables (interface plugin)

2007-07-24 Thread Richard D. Worth
It's not going to be super easy as there's no built-in support for nested sortables in Interface. The accept option may help. I haven't tested it, but even if it worked, I'm guessing it would require a unique class name on all LIs of each sortable UL. One work-around I've used before: Call .Sorta