jdalton, I use append ( += ) for quick look behind the scenes while
debugging in different browsers. It shows the browser differences
nicely. But the dragging speed fix for IE6 doesn't need to append. It
only needs to output something to the browser while dragging, so ( = )
is enough:
if( $('something') != null ) $('something').innerHTML = pointer[0];
Surendra, the initialization speedup works nicely, thanks. My problem
was that the dragging in IE was slow and jerky, when moving a Sortable
from one Droppable to another. I tried removing the handles and making
the elements as simple as possible, but that didn't help much. The
droppables are with horizontal overlap and ghosting = false, as I need
the Sortables to resize when dropped and that doesn't work right with
ghosting = true.
On Jun 25, 1:12 am, "Jean-Philippe Encausse" <[EMAIL PROTECTED]>
wrote:
> 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
-~----------~----~----~----~------~----~------~--~---