<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://www.zjsnrwiki.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AJquery.easing.1.3.js</id>
	<title>MediaWiki:Jquery.easing.1.3.js - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://www.zjsnrwiki.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AJquery.easing.1.3.js"/>
	<link rel="alternate" type="text/html" href="https://www.zjsnrwiki.com/index.php?title=MediaWiki:Jquery.easing.1.3.js&amp;action=history"/>
	<updated>2026-06-10T08:17:53Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.zjsnrwiki.com/index.php?title=MediaWiki:Jquery.easing.1.3.js&amp;diff=164&amp;oldid=prev</id>
		<title>Adpex：​创建页面，内容为“/*  * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/  *  * Uses the built in easing capabilities added In jQuery 1.1  * to offer multiple easing optio...”</title>
		<link rel="alternate" type="text/html" href="https://www.zjsnrwiki.com/index.php?title=MediaWiki:Jquery.easing.1.3.js&amp;diff=164&amp;oldid=prev"/>
		<updated>2016-02-26T12:56:42Z</updated>

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