hi Folks, I have a little question. I can''t found any decostruct Method in the Documentation. eg i use: s1 = Sortable.create("pagetree", ......); now i wanna deconstruct this object. s1 = null doesn''t work.... _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Thorben Schmitt wrote:> hi Folks, > I have a little question. > I can''t found any decostruct Method in the Documentation. > > eg i use: > s1 = Sortable.create("pagetree", ......); > now i wanna deconstruct this object. > s1 = null doesn''t work....If you mean stop an element from being sortable, then I think that you can use the destroy menthod of the Sotrables object: http://wiki.script.aculo.us/scriptaculous/show/Sortable.destroy Danilo