Disable animation on mobile devices

Dragooon

  • I can code! Really!
  • Talking Head
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,723
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

  • With a Box
  • If you say so.....
  • Posts: 12,893
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;
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Dragooon

  • I can code! Really!
  • Talking Head
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,723
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)
The way it's meant to be

Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
Re: Disable animation on mobile devices
« Reply #3 on May 21st, 2012, 04:39 PM »
I thought jQuery used CSS3 animations when available..?
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Dragooon

  • I can code! Really!
  • Talking Head
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,723
Re: Disable animation on mobile devices
« Reply #4 on May 21st, 2012, 04:41 PM »
Quote from Nao on May 21st, 2012, 04:39 PM
I thought jQuery used CSS3 animations when available..?
Nope, there are some extensions that do that though.
The way it's meant to be

Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
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.
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,597
Re: Disable animation on mobile devices
« Reply #6 on May 21st, 2012, 08:02 PM »
I know that iOS 5 on a first-gen iPad kind of sucks :/
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
Re: Disable animation on mobile devices
« Reply #7 on May 21st, 2012, 08:10 PM »
Suggesting to add a user setting to disable anims. Could even override it in skin options...
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,597
Re: Disable animation on mobile devices
« Reply #8 on May 21st, 2012, 08:22 PM »
I second that idea :)
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
Re: Disable animation on mobile devices
« Reply #9 on May 21st, 2012, 08:36 PM »
... Not doing it myself. Priorities, all that :P
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

nend

  • We-Gen
  • When is a theme, no longer what it was when installed?
  • Posts: 163
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!
  • Talking Head
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,723
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.
The way it's meant to be

Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
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.... >_<
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
Re: Disable animation on mobile devices
« Reply #13 on May 23rd, 2012, 12:37 PM »
Ah, at last I'm back up...
Lasted for a little over an hour. :(
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Dragooon

  • I can code! Really!
  • Talking Head
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,723
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.
The way it's meant to be