rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.3k stars 864 forks source link

Browser support detection #150

Open yuhanonescreen opened 10 years ago

yuhanonescreen commented 10 years ago

since not all browsers support css3 for jquery.transit to run properly, it would be convenient if there's a function to detect whether the current browser environment is capable of rendering jquery.transit animations

JacobBennett commented 10 years ago

Instead of reinventing the wheel within transit, use modernizer to detect if the browser is capable of css3 animations and respond accordingly. On Aug 9, 2013 12:02 AM, "Yuhan Zhang" notifications@github.com wrote:

since not all browsers support css3 for jquery.transit to run properly, it would be convenient if there's a function to detect whether the current browser environment is capable of rendering jquery.transit animations

— Reply to this email directly or view it on GitHubhttps://github.com/rstacruz/jquery.transit/issues/150 .

JacobBennett commented 10 years ago

Take a look at http://ricostacruz.com/jquery.transit/

image

Again, use Modernizr to detect css3 animation support, then do as suggested.

yuhanonescreen commented 10 years ago

cool thanks! :)