jQuery has this awesome simple way of disabling animations:
jQuery.fx.off
However, in practice, when should I use it? Should I detect browser capabilities using Modernizr to filter out which browsers it is best to disable animations for?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are two major use cases for this:
1. Performance related reasons:
If users experience much lower performance than expected on a particular device that you are supposed to be supporting, then use this method. Make sure that you do this using feature detection mechanisms following a graceful degradation mentality. More details on this issue
2. Accessibility related reasons:
If your target audience might contain people who suffer from a form of disability (this is changing and in more counties you are expected to support disable users regardless of your target population) then you need to include this as an accessibility feature option for your users. e.g. next to the increase font size button.