锘??xml version="1.0" encoding="utf-8" standalone="yes"?>精品国产乱码久久久久久1区2匹,青青色在线视频,亚洲综合av网http://www.aygfsteel.com/cecilyyu/~~~~~~~zh-cnThu, 19 Jun 2025 15:21:43 GMTThu, 19 Jun 2025 15:21:43 GMT60js Tween綆楁硶 姘存灉鏍嬬壒鏁?/title><link>http://www.aygfsteel.com/cecilyyu/archive/2009/09/22/295949.html</link><dc:creator>閮?/dc:creator><author>閮?/author><pubDate>Tue, 22 Sep 2009 01:48:00 GMT</pubDate><guid>http://www.aygfsteel.com/cecilyyu/archive/2009/09/22/295949.html</guid><wfw:comment>http://www.aygfsteel.com/cecilyyu/comments/295949.html</wfw:comment><comments>http://www.aygfsteel.com/cecilyyu/archive/2009/09/22/295949.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/cecilyyu/comments/commentRss/295949.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/cecilyyu/services/trackbacks/295949.html</trackback:ping><description><![CDATA[<p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a ><br /> <html xmlns="<a ><br /> <head><br /> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><br /> <title>鏃犳爣棰樻枃妗?lt;/title><br /> <script type="text/javas<wbr>cript"><br />  var Tween = {<br />   Bounce: {<br />         easeIn: function(t,b,c,d){<br />             return c - Tween.Bounce.easeOut(d-t, 0, c, d) + b;<br />         },<br />         easeOut: function(t,b,c,d){<br />             if ((t/=d) < (1/2.75)) {<br />                 return c*(7.5625*t*t) + b;<br />             } else if (t < (2/2.75)) {<br />                 return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;<br />             } else if (t < (2.5/2.75)) {<br />                 return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;<br />             } else {<br />                 return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;<br />             }<br />         },<br />         easeInOut: function(t,b,c,d){<br />             if (t < d/2) return Tween.Bounce.easeIn(t*2, 0, c, d) * .5 + b;<br />             else return Tween.Bounce.easeOut(t*2-d, 0, c, d) * .5 + c*.5 + b;<br />         }<br />     }</p> <p> }<br />  <strong><font color="#ff6600">b涓哄垵濮嬪?c涓哄彉鍖栧?d涓烘寔緇椂闂?t涓哄紑濮嬫椂闂?/font></strong></p> <p><strong><font color="#ff6600">d瑕佷笉閰嶅悎涓庢闀夸竴璧蜂嬌鐢?nbsp; 渚嬪</font></strong></p> <p><strong><font color="#ff6600">榪欓噷鐨勬闀夸負3</font></strong></p> <p><strong><font color="#ff6600">d×3 =c-b</font></strong><br />  var b=-300,c=600,d=300,t=0;<br />  function run(){<br />   var div = document.getElementById("div1");<br />   div.style.left =  Math.ceil(Tween.Bounce.easeInOut(t,b,c,d))+"px";<br />   if(t<d){<br />    t+=3;<br />    setTimeout(run,10);<br />  <br />   }<br />  }</p> <p></script><br /> </head></p> <p><body on<wbr>load="run();"><br /> <div style="width:1000px; height:1000px; position:relative; overflow:hidden; background-color:#9966CC"><br />   <div id="div1" style="width:300px; height:200px; background-color:#0099FF; position:absolute; left:-300px; top:300px;"><br />   </div> <br />  </div><br /> </body><br /> </html></p> <p> </p> <p> </p> <p><font color="#3366ff">瀹屾暣Tween綆楁硶</font></p> <p style="text-indent: 2em"><font color="#3366ff">var Tween = {</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Linear: function(t,b,c,d){ return c*t/d + b; },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Quad: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c*(t/=d)*t + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return -c *(t/=d)*(t-2) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if ((t/=d/2) < 1) return c/2*t*t + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return -c/2 * ((--t)*(t-2) - 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Cubic: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c*(t/=d)*t*t + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c*((t=t/d-1)*t*t + 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if ((t/=d/2) < 1) return c/2*t*t*t + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c/2*((t-=2)*t*t + 2) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Quart: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c*(t/=d)*t*t*t + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return -c * ((t=t/d-1)*t*t*t - 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if ((t/=d/2) < 1) return c/2*t*t*t*t + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return -c/2 * ((t-=2)*t*t*t - 2) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Quint: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c*(t/=d)*t*t*t*t + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c*((t=t/d-1)*t*t*t*t + 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c/2*((t-=2)*t*t*t*t + 2) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Sine: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return -c * Math.cos(t/d * (Math.PI/2)) + c + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c * Math.sin(t/d * (Math.PI/2)) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Expo: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (t==0) return b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (t==d) return b+c;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Circ: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c * Math.sqrt(1 - (t=t/d-1)*t) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Elastic: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d,a,p){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (!a || a < Math.abs(c)) { a=c; var s=p/4; }</font></p> <p style="text-indent: 2em"><font color="#3366ff">            else var s = p/(2*Math.PI) * Math.asin (c/a);</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d,a,p){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (!a || a < Math.abs(c)) { a=c; var s=p/4; }</font></p> <p style="text-indent: 2em"><font color="#3366ff">            else var s = p/(2*Math.PI) * Math.asin (c/a);</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return (a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b);</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d,a,p){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (!a || a < Math.abs(c)) { a=c; var s=p/4; }</font></p> <p style="text-indent: 2em"><font color="#3366ff">            else var s = p/(2*Math.PI) * Math.asin (c/a);</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Back: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d,s){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (s == undefined) s = 1.70158;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c*(t/=d)*t*((s+1)*t - s) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d,s){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (s == undefined) s = 1.70158;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d,s){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (s == undefined) s = 1.70158; </font></p> <p style="text-indent: 2em"><font color="#3366ff">            if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    },</font></p> <p style="text-indent: 2em"><font color="#3366ff">    Bounce: {</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeIn: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            return c - Tween.Bounce.easeOut(d-t, 0, c, d) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if ((t/=d) < (1/2.75)) {</font></p> <p style="text-indent: 2em"><font color="#3366ff">                return c*(7.5625*t*t) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            } else if (t < (2/2.75)) {</font></p> <p style="text-indent: 2em"><font color="#3366ff">                return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            } else if (t < (2.5/2.75)) {</font></p> <p style="text-indent: 2em"><font color="#3366ff">                return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            } else {</font></p> <p style="text-indent: 2em"><font color="#3366ff">                return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            }</font></p> <p style="text-indent: 2em"><font color="#3366ff">        },</font></p> <p style="text-indent: 2em"><font color="#3366ff">        easeInOut: function(t,b,c,d){</font></p> <p style="text-indent: 2em"><font color="#3366ff">            if (t < d/2) return Tween.Bounce.easeIn(t*2, 0, c, d) * .5 + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">            else return Tween.Bounce.easeOut(t*2-d, 0, c, d) * .5 + c*.5 + b;</font></p> <p style="text-indent: 2em"><font color="#3366ff">        }</font></p> <p style="text-indent: 2em"><font color="#3366ff">    }</font></p> <p style="text-indent: 2em"><font color="#3366ff">}</font></p> <p style="text-indent: 2em"><font color="#3366ff"></font> </p> <p style="text-indent: 2em"><font color="#3366ff">鍙傝冪綉鍧<a >http://www.cnblogs.com/cloudgamer/archive/2009/01/06/Tween.html</a></font></p><img src ="http://www.aygfsteel.com/cecilyyu/aggbug/295949.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/cecilyyu/" target="_blank">閮?/a> 2009-09-22 09:48 <a href="http://www.aygfsteel.com/cecilyyu/archive/2009/09/22/295949.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">海淀区</a>| <a href="http://" target="_blank">桐梓县</a>| <a href="http://" target="_blank">鄂伦春自治旗</a>| <a href="http://" target="_blank">左权县</a>| <a href="http://" target="_blank">五台县</a>| <a href="http://" target="_blank">江达县</a>| <a href="http://" target="_blank">长垣县</a>| <a href="http://" target="_blank">新龙县</a>| <a href="http://" target="_blank">定兴县</a>| <a href="http://" target="_blank">会同县</a>| <a href="http://" target="_blank">旬邑县</a>| <a href="http://" target="_blank">招远市</a>| <a href="http://" target="_blank">新郑市</a>| <a href="http://" target="_blank">兴文县</a>| <a href="http://" target="_blank">陇川县</a>| <a href="http://" target="_blank">酒泉市</a>| <a href="http://" target="_blank">镇沅</a>| <a href="http://" target="_blank">岳普湖县</a>| <a href="http://" target="_blank">黑山县</a>| <a href="http://" target="_blank">靖宇县</a>| <a href="http://" target="_blank">文成县</a>| <a href="http://" target="_blank">东宁县</a>| <a href="http://" target="_blank">抚宁县</a>| <a href="http://" target="_blank">双峰县</a>| <a href="http://" target="_blank">凉城县</a>| <a href="http://" target="_blank">三江</a>| <a href="http://" target="_blank">湖北省</a>| <a href="http://" target="_blank">中超</a>| <a href="http://" target="_blank">巴东县</a>| <a href="http://" target="_blank">龙泉市</a>| <a href="http://" target="_blank">桑日县</a>| <a href="http://" target="_blank">上虞市</a>| <a href="http://" target="_blank">双桥区</a>| <a href="http://" target="_blank">邹平县</a>| <a href="http://" target="_blank">霍城县</a>| <a href="http://" target="_blank">青冈县</a>| <a href="http://" target="_blank">登封市</a>| <a href="http://" target="_blank">黄平县</a>| <a href="http://" target="_blank">武山县</a>| <a href="http://" target="_blank">乌拉特中旗</a>| <a href="http://" target="_blank">纳雍县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>