don.newelement-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Aug-24 15:22 UTC
Effects in Sortable.create
Is it possible to add effects to sortables? I would like to blindup/slideup to 80% and stop while dragging then go back to normal after drop. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
Take a look at options.starteffect, options.reverteffect, and options.endeffect http://wiki.script.aculo.us/scriptaculous/show/Draggable They''re not listed as options on the Sortable page, but they are passed through to the Draggables created by the Sortable. TAG tomg-PGZyUNKar/Q@public.gmane.org On Aug 24, 2006, at 9:22 AM, don.newelement-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > Is it possible to add effects to sortables? I would like to > blindup/slideup to 80% and stop while dragging then go back to normal > after drop. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
don.newelement-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Aug-24 17:16 UTC
Re: Effects in Sortable.create
I don''t think I have the syntax right. I added the starteffect:BlindUp and nothing works: Sortable.create(''page'',{tag:''div'',only:''section'',handle:''handle'',starteffect:BlindUp,onUpdate:updateOrder}); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---