I did something like in your patch to initialize lots of draggable.  (In
fact I did it onclick)
And yes it is really faster because you did nothing if user do not click on
a draggable.

But do you have a solution to speedup droppable initialisation ?
And drag over lots of droppable ?

Regards


On 6/25/07, Surendra <[EMAIL PROTECTED]> wrote:
>
>
> On 6/25/07, jdalton <[EMAIL PROTECTED]> wrote:
> >
> > If that works that is awesome. :P
> >
> > I have used ('myElement').innerHTML += moreHTML;
> > and I find that my application gradually got slower because "innerHTML
> > +=" must be replacing the entire HTML with oldHTML+moreHTML each time
> > instead of just appending it.
> >
>
> I created this patch which will allow a custom element to be created
> and shown as a ghosting effect instead of cloning the draggable
> object. I guess this might be what you are looking for.
>
> http://dev.rubyonrails.org/ticket/8386
>
>
> Also, there was another patch which will speedup the initialization of
> objects as draggable, quite a bit
> http://dev.rubyonrails.org/ticket/8697
>
> Cheers,
> -Surendra
>
> >
>


-- 
Jean-Philippe Encausse - Veille / 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: +33682125699 - Job: +33139239283 - Tel: +33139189015 - Fax:
+33958789015
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to