jquery-easing

jQuery easing functions without using a plugin

蓝咒 提交于 2019-11-26 03:47:45
问题 I\'m looking for an online list of custom easing functions that I can use with jQuery. I\'m not interested in using a plugin for this, nor am I using jQuery UI. I found one below that does a nice little bounce but I\'m looking for a few others just so I can have some options. In lieu of of other functions, a brief explanation of how this one operates and might be modified would be awesome. Thank-you! Example: $.easing.custom = function (x, t, b, c, d) { var s = 1.70158; if ((t/=d/2) < 1)