Disable animation on mobile devices

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Disable animation on mobile devices
« on May 21st, 2012, 04:23 PM »
I'm fairly sure jQuery has a global turn of animation switch, and I think it should be enabled for mobile devices since they cannot really handle animations which are run via iteration.
The way it's meant to be

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Disable animation on mobile devices
« Reply #1, on May 21st, 2012, 04:37 PM »
Yep, yep, and it pisses me off all the time... :lol:
I'm just waiting for the day I'll update to iOS5. Their Safari is supposedly faster, and I wouldn't like to disable animations if it can handle them...
But right now, iPod Touch 4 + iOS 4.1 (or 4.2 or whatever) = shows 2 or 3 frames of any given animation.

BTW, to disable animations globally: $.fx.off = true;

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Disable animation on mobile devices
« Reply #2, on May 21st, 2012, 04:39 PM »
iOS5 is not that much better when it comes to handling animations via iterations, when compared to desktops anyway. It's excellent in handling CSS3 animations though, but they'll require some work to implement (unless someone has already done that)

Nao

  • Dadman with a boy
  • Posts: 16,082

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Disable animation on mobile devices
« Reply #5, on May 21st, 2012, 04:43 PM »
Meh... Didn't know that.
I never looked into CSS3 animations much, because they're not very fast in Opera, from what I could see.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082

nend

  • When is a theme, no longer what it was when installed?
  • Posts: 165
Re: Disable animation on mobile devices
« Reply #10, on May 23rd, 2012, 06:42 AM »
Haven't had any trouble with animations. I am running CM7 on a Samsung GTI5500 @ 600mhz with 187mb RAM and Android 2.3.7 using Opera Mobile.

My setup though is heavily modified from what you would find in a traditional 2.3.7 CM7 installation.

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Disable animation on mobile devices
« Reply #11, on May 23rd, 2012, 08:59 AM »
Quote from nend on May 23rd, 2012, 06:42 AM
Haven't had any trouble with animations. I am running CM7 on a Samsung GTI5500 @ 600mhz with 187mb RAM and Android 2.3.7 using Opera Mobile.

My setup though is heavily modified from what you would find in a traditional 2.3.7 CM7 installation.
I'm running CM9 (Android 4.0.4) on GT-N7000 @ 1.6GHz with 1GB RAM and I can't stand the standard jQuery animations. Hell, the CSS3 animations are barely tolerable in Android's default browser.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Disable animation on mobile devices
« Reply #12, on May 23rd, 2012, 11:46 AM »
And in chrome?

WTF electrical power is down in my neighborhood and it looks like it's gonna last got a while... Right when I was back in business after a hectic morning outside.... >_<

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Disable animation on mobile devices
« Reply #14, on May 23rd, 2012, 01:31 PM »
Quote from Nao on May 23rd, 2012, 11:46 AM
And in chrome?

WTF electrical power is down in my neighborhood and it looks like it's gonna last got a while... Right when I was back in business after a hectic morning outside.... >_<
Chrome Beta for Android? It's better, still not up to iOS' level.