I have some jQuery animations running on my application but don't want them displaying on smaller screen ie mobiles. How can I disable jquery animations on smaller screens. If anyone can point me in the right direction it will be greatly appreciated.
Actually, parts of jQuery are becoming pointless. That's because much of what is in jQuery is either dealing with differences between different browsers - which have since been resolved - or capabilities that were lacking in browsers - such as CSS3.
If jQuery were being written for the first time today, I doubt it would have included animations. They are better done with CSS3.
If you had to drill 100 holes, would you go out of your way to learn to use a hand auger? Or just use an electric drill? I would use an electric drill.
jQuery is still useful. But PARTS of it are best left in the history books. Animations are one of those parts.
Anyway, Jake answered your question. Did you try it?