Extend $.animate() to detect CSS transitions for Webkit, Mozilla and
Opera and convert animations automatically. Compatible with IE6+
Properties supported: (more to come)
left/right : using translate(x, y) or translate3d(x, y, z)
top/bottom : using translate(x, y) or translate3d(x, y, z)
opacity
width
height
According to this page, you should set the plugin's useTranslate3d option to true for smoother (hardware-accelerated) animation on iDevices.
0
dty
On
I don't believe jQuery natively supports CSS3 transitions. There are a couple of plugins you can get which will do it for you, but I think they pretty much all fall back to using JS if CSS3 isn't available.
Browser detection may (unfortunately) be your friend here.
First Google result is the jQuery animate enhanced plugin.
According to this page, you should set the plugin's
useTranslate3d
option totrue
for smoother (hardware-accelerated) animation on iDevices.