0
transparent: [255,255,255]
0
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
0
+ * Uses the built in easing capabilities added In jQuery 1.1
0
+ * to offer multiple easing options
0
+ * TERMS OF USE - jQuery Easing
0
+ * Open source under the BSD License.
0
+ * Copyright © 2008 George McGinley Smith
0
+ * All rights reserved.
0
+ * Redistribution and use in source and binary forms, with or without modification,
0
+ * are permitted provided that the following conditions are met:
0
+ * Redistributions of source code must retain the above copyright notice, this list of
0
+ * conditions and the following disclaimer.
0
+ * Redistributions in binary form must reproduce the above copyright notice, this list
0
+ * of conditions and the following disclaimer in the documentation and/or other materials
0
+ * provided with the distribution.
0
+ * Neither the name of the author nor the names of contributors may be used to endorse
0
+ * or promote products derived from this software without specific prior written permission.
0
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
0
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
0
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
0
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
0
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
0
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
0
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
0
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
0
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
0
+// t: current time, b: begInnIng value, c: change In value, d: duration
0
+jQuery.easing['jswing'] = jQuery.easing['swing'];
0
+jQuery.extend( jQuery.easing,
0
+ swing: function (x, t, b, c, d) {
0
+ //alert(jQuery.easing.default);
0
+ return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
0
+ easeInQuad: function (x, t, b, c, d) {
0
+ return c*(t/=d)*t + b;
0
+ easeOutQuad: function (x, t, b, c, d) {
0
+ return -c *(t/=d)*(t-2) + b;
0
+ easeInOutQuad: function (x, t, b, c, d) {
0
+ if ((t/=d/2) < 1) return c/2*t*t + b;
0
+ return -c/2 * ((--t)*(t-2) - 1) + b;
0
+ easeInCubic: function (x, t, b, c, d) {
0
+ return c*(t/=d)*t*t + b;
0
+ easeOutCubic: function (x, t, b, c, d) {
0
+ return c*((t=t/d-1)*t*t + 1) + b;
0
+ easeInOutCubic: function (x, t, b, c, d) {
0
+ if ((t/=d/2) < 1) return c/2*t*t*t + b;
0
+ return c/2*((t-=2)*t*t + 2) + b;
0
+ easeInQuart: function (x, t, b, c, d) {
0
+ return c*(t/=d)*t*t*t + b;
0
+ easeOutQuart: function (x, t, b, c, d) {
0
+ return -c * ((t=t/d-1)*t*t*t - 1) + b;
0
+ easeInOutQuart: function (x, t, b, c, d) {
0
+ if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
0
+ return -c/2 * ((t-=2)*t*t*t - 2) + b;
0
+ easeInQuint: function (x, t, b, c, d) {
0
+ return c*(t/=d)*t*t*t*t + b;
0
+ easeOutQuint: function (x, t, b, c, d) {
0
+ return c*((t=t/d-1)*t*t*t*t + 1) + b;
0
+ easeInOutQuint: function (x, t, b, c, d) {
0
+ if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
0
+ return c/2*((t-=2)*t*t*t*t + 2) + b;
0
+ easeInSine: function (x, t, b, c, d) {
0
+ return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
0
+ easeOutSine: function (x, t, b, c, d) {
0
+ return c * Math.sin(t/d * (Math.PI/2)) + b;
0
+ easeInOutSine: function (x, t, b, c, d) {
0
+ return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
0
+ easeInExpo: function (x, t, b, c, d) {
0
+ return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
0
+ easeOutExpo: function (x, t, b, c, d) {
0
+ return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
0
+ easeInOutExpo: function (x, t, b, c, d) {
0
+ if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
0
+ return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
0
+ easeInCirc: function (x, t, b, c, d) {
0
+ return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
0
+ easeOutCirc: function (x, t, b, c, d) {
0
+ return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
0
+ easeInOutCirc: function (x, t, b, c, d) {
0
+ if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
0
+ return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
0
+ easeInElastic: function (x, t, b, c, d) {
0
+ var s=1.70158;var p=0;var a=c;
0
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
0
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
0
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
0
+ return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
0
+ easeOutElastic: function (x, t, b, c, d) {
0
+ var s=1.70158;var p=0;var a=c;
0
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
0
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
0
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
0
+ return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
0
+ easeInOutElastic: function (x, t, b, c, d) {
0
+ var s=1.70158;var p=0;var a=c;
0
+ if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
0
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
0
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
0
+ if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
0
+ return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
0
+ easeInBack: function (x, t, b, c, d, s) {
0
+ if (s == undefined) s = 1.70158;
0
+ return c*(t/=d)*t*((s+1)*t - s) + b;
0
+ easeOutBack: function (x, t, b, c, d, s) {
0
+ if (s == undefined) s = 1.70158;
0
+ return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
0
+ easeInOutBack: function (x, t, b, c, d, s) {
0
+ if (s == undefined) s = 1.70158;
0
+ if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
0
+ return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
0
+ easeInBounce: function (x, t, b, c, d) {
0
+ return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
0
+ easeOutBounce: function (x, t, b, c, d) {
0
+ if ((t/=d) < (1/2.75)) {
0
+ return c*(7.5625*t*t) + b;
0
+ } else if (t < (2/2.75)) {
0
+ return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
0
+ } else if (t < (2.5/2.75)) {
0
+ return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
0
+ return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
0
+ easeInOutBounce: function (x, t, b, c, d) {
0
+ if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
0
+ return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
0
+ * TERMS OF USE - EASING EQUATIONS
0
+ * Open source under the BSD License.
0
+ * Copyright © 2001 Robert Penner
0
+ * All rights reserved.
0
+ * Redistribution and use in source and binary forms, with or without modification,
0
+ * are permitted provided that the following conditions are met:
0
+ * Redistributions of source code must retain the above copyright notice, this list of
0
+ * conditions and the following disclaimer.
0
+ * Redistributions in binary form must reproduce the above copyright notice, this list
0
+ * of conditions and the following disclaimer in the documentation and/or other materials
0
+ * provided with the distribution.
0
+ * Neither the name of the author nor the names of contributors may be used to endorse
0
+ * or promote products derived from this software without specific prior written permission.
0
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
0
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
0
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
0
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
0
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
0
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
0
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
0
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
0
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
0
\ No newline at end of file
Comments
No one has commented yet.