When I create Draggable and Droppable on my UL/LI Tree (that contains about 300 LI), it is very slow ...
It takes about 8s to create all Draggable and Droppable. And Dragging items is also slow Is there a faster way to do that ? A lazy way ? Does anybody have a FeedBack on working with many Drag/Drop items ? Best Regards, Jp On 2/13/07, Jean-Philippe Encausse <[EMAIL PROTECTED]> wrote: > In Fact, > > I create Draggable and Droppable on all Ul/LI of my Tree. > So I can user onHover / onDrop callback to do stuff. > > It's a little bit slow on IE but fine in Firefox. > > I only have an issue while dragging a links (<a href>) without > dropping: the link is followed and I can't stop the Event. > > I try to set an Event.observe during onHover() then stop it during > onDrop() but it stop too soon. Any Idea ? > > Regards > > On 2/9/07, caillou <[EMAIL PROTECTED]> wrote: > > > > hi jp, > > > > > 2. Is it possible to roll back the state of the sortable if the > > > onUpdate function returns false or throws an exception ? > > > > i've been thinking about that more than once, but never got time to digg > > into it... > > > > so if you should find a solution, i'd love to hear it... and maybe i'll > > get to work on it this week end ;) who knows. > > > > > In fact the behavior I want to do is: > > > http://yui-ext.com/deploy/yui-ext/examples/tree/reorder.html > > > > it's a nice project you got there. > > > > cheerz ... caillou > > > > > > > > > > > > > > > -- > Jean-Philippe Encausse - R&D Jalios SA > Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com > GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net > Mob: +33 6 82 12 56 99 Jalios: +33 1 39 23 92 83 Tel: +33 1 39 18 90 15 > Do it Once, Use it Twice ~ Do it Twice, Make It Once > -- Jean-Philippe Encausse - R&D Jalios SA Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net Mob: +33 6 82 12 56 99 Jalios: +33 1 39 23 92 83 Tel: +33 1 39 18 90 15 Do it Once, Use it Twice ~ Do it Twice, Make It Once --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
