When I use an easing plug-in, the default easing options "linear" and "swing" are no longer available.. when I try to use them, I get a javascript error from my jQuery file (jquery-1.5.2.min.js) saying "
d.easing[j || k] is not a function". I've tried two different easing scripts (
here and
here), but same result with both. This is an issue as I would like some way to do a linear movement.
This behavior happens in jQuery 1.5.2 as well as 1.5.1 and 1.4.4 and is an issue in all browsers I've tested in: FF (mac/pc), safari (mac), IE (pc), etc. Has anybody run into this before?
Some example code:
- $(obj)
- .css(
- {
- "left": -971
- }
- )
- .animate(
- {
- "left": 65
- },
- {
- "duration": 800,
- "easing": "linear"
- }
- );