On Sunday 28 May 2006 10:52, Jonas Thomsen wrote:> hi
>
> i got a problem with a Sortable.create.
>
> i got an array containing the ID of the elements i want to make an sortable
> of, that is no problem, but i want to be able to drag between the sortables
> and that where my problem is. i dont know how to assign an array to
> containment:
>
> until now the script looks like this:
>
> for (i=0;i<id_gruppe.length;i++)
> {
> Sortable.create(id_gruppe[i] {dropOnEmpty:false,
> containment:[id_gruppe],constraint:false, ghosting: false});
since id_gruppe is an array itself, just do:
containment:id_gruppe
-Jeremy
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs