Plugin jQuery: jQuery Animate Enhanced Plugin

jQuery Animate Enhanced Plugin
http://www.jqueryrain.com/?http://playground.benbarnett.net/jquery-animate-enhanced/
https://github.com/benbarnett/jQuery-Animate-Enhanced
31/05/2012

Nội dung

jQuery Animate Enhanced Plugin

jQuery Animations with automatic CSS3 transitions.Extend $.animate() to detect CSS transitions for Webkit, Mozilla and Opera and convert animations automatically. The plugin will analyse the properties you’re animating on, and select the most appropriate method for the browser in use. This means your transitions on left, top and opacity will convert to a CSS3 transition on Webkit & Mozilla agents that support it, and Opera 10.50+. If the user is on a browser that has no CSS3 transitions, this plugin knows about it and won’t get involved.

Multiple callback mechanisms are created internally to monitor for DOM manipulation and for all ‘transitionend’ CSS3 events to be picked up. This means you have one neat callback() for the whole animation regardless on whether the plugin is using CSS3, DOM, or both for its animations.

Progressively enhanced CSS3 animations without having to do any browser detection or special CSS, therefore using the same Javascript across your applications and websites.


Nguồn: www.jqueryrain.com/2012/05/jquery-animate-enhanced-plugin/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận