recently ago I asked this question: Would like to understand the Animate function (calculation and stepping) and I got answered.
I tried to remove unnecessary code of jQuery and leaving the jQuery animation functions only.
If someone can provide me only the jQuery animation functions that has thier technique - I will be really grateful.
Creating an animation is actually pretty simple. Set an interval to change an element's CSS properties and let your function run recursively:
Here is a demo: http://jsfiddle.net/aDLbK/1/
Of-course this still uses jQuery's
.css()
function but you can remove that single line and place in whatever JavaScript you want to manipulate the element.I think what you want is https://github.com/jquery/jquery/blob/master/src/effects.js but with jquery you cant just pull out part of it and expect anything to work. There might be a way to custom build jquery but the effects library will have many other dependencies on jquery core etc to work.
Also relevant is https://stackoverflow.com/a/3143256/138883 which talks about creating custom builds