For me the jQuery one is very choppy and never actually finishes.
However, the prototype/scriptaculous one is choppy also but at least
it finishes. Of course there is only so much a browser can take at
once but at least jQuery's animation method should follow through. I'm
wondering if the jQuery animate method is not time based and that is
the reason why it doesn't finish sometimes. Perhaps I'll have to
investigate this further when I find some time.

--
Brandon Aaron



On 9/29/06, Kurt Mackey <[EMAIL PROTECTED]> wrote:
> Oddly enough, the prototype version looks quite a bit choppier in
> FireFox than the jQuery version does for me.  The jQuery one's not
> really choppy at all.
>
> This is FF 1.5.0.7 on WinXP on a thinkpad.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of herchenx
> Sent: Friday, September 29, 2006 9:41 AM
> To: [email protected]
> Subject: Re: [jQuery] Multiple Simultaneous Animations slow down Firefox
>
>
> Here is an example:
> http://www.daharsh.net/jsTest/jQueryVSScriptaculousSilultaneousAnimation
> s My
> Example
>
> There are 2 links, one to another example using jQuery and slideUp()
> (which
> does not illustrate the problem quite as clearly, but you can still see
> it)
> - and another example using Scriptaculous and Prototype (which works
> almost
> exactly the same in IE and FF, although the performance in IE is not as
> nice
> as jQuery)
>
> Obviously jQuery wins for filesize, and in IE it looks a lot better, but
> in
> FF the performance is awful.
>
> Let me know if anyone has any ideas.
>
> Thanks,
>
> John Daharsh
>
>
>
> Brandon Aaron wrote:
> >
> > Actually it has been my experience that the animate method in jQuery
> > is much smoother and less bulkier than said Prototype/Scriptaculous.
> > Do you have some example links that has both the old example using
> > Prototype/Scriptaculous and then the new with jQuery? Firefox on both
> > Mac and PC will run the animations slower than Safari and IE. I don't
> > know the exact reasons but I assume it is because Safari and IE have
> > more system level access to run the JS.
> >
> > Anyways, the example links would help out in getting someone to help
> > with the animate issue.
> >
> > --
> > Brandon Aaron
> >
> >
> > On 9/20/06, herchenx <[EMAIL PROTECTED]> wrote:
> >>
> >> I replied to a thread previously and brought up this issue, but I
> think
> >> it
> >> merits its own thread. I can't find anyone else commenting on this
> issue
> >> in
> >> the forums or elsewhere.
> >>
> >> Here is my scenario:
> >>
> >> 4 absolutely positioned div tags that animate simultaneously to a new
> >> fixed
> >> position on page load.
> >>
> >> In Firefox, using jQuery's animate() functionality, they are very
> choppy.
> >> In
> >> IE, they are as smooth as butter.
> >>
> >> Here is how I am doing this:
> >>
> >> $(document).ready(function(){
> >>         $("div#wrapper div.animated").animate({left:0,top:0},1000);
> >> });
> >>
> >> This is as specific as I can be for referencing the 4 divs. I've
> tried
> >> the
> >> slideUp() functionality with identical results - IE is smooth,
> Firefox is
> >> terribly choppy.
> >>
> >> One div animating is smooth, 2 is still smooth, 3 starts to hiccup a
> >> little,
> >> and by the fourth it is nearly worthless. I've tried accessing the
> div's
> >> individually by ID rather than the class (as above), and the result
> is
> >> the
> >> same.
> >>
> >> To put salt in the wound, I was attemting to move away from
> Prototype.js
> >> -
> >> which I had working perfectly in all major browsers.
> >>
> >> My guess is that the jQuery objects are somehow bulkier than straight
> DOM
> >> elements and this animate() functionality simply costs too much for
> FF.
> >>
> >> I wonder if anyone else has dealt with this and if there were any
> >> positive
> >> results.
> >>
> >> Thanks in advance.
> >>
> >> John Daharsh
> >> http://www.daharsh.net
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Multiple-Simultaneous-Animations-slow-down-Firefox
> -tf2307354.html#a6414253
> >> Sent from the JQuery mailing list archive at Nabble.com.
> >>
> >>
> >> _______________________________________________
> >> jQuery mailing list
> >> [email protected]
> >> http://jquery.com/discuss/
> >>
> >
> > _______________________________________________
> > jQuery mailing list
> > [email protected]
> > http://jquery.com/discuss/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Multiple-Simultaneous-Animations-slow-down-Firefox
> -tf2307354.html#a6566220
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to