Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS3 Transitions with Javascript Fallback

Is there a javascript framework out there that will use CSS3 Transitions for effects like changing opacity or moving elements but will fall back to using javascript setInterval/setTimeout if it is not supported?

like image 792
benmmurphy Avatar asked Nov 04 '10 11:11

benmmurphy


3 Answers

Check out the YUI 3 Transition module, it does just that.

like image 82
Mourner Avatar answered Oct 18 '22 16:10

Mourner


Check out Addy Osmani's article. It is a good summary of the current solutions with jQuery, specifically:

  • jquery.transition.js by Louis-Rémi Babé
  • jQuery.animate-enhanced.js by Ben Barnett
like image 3
CameraSchoolDropout Avatar answered Oct 18 '22 17:10

CameraSchoolDropout


You could look at using http://www.modernizr.com/

like image 2
Jeepstone Avatar answered Oct 18 '22 17:10

Jeepstone