jquery.easing的使用

來源:互聯網
上載者:User

標籤:des   style   blog   http   io   ar   color   使用   sp   

<!DOCTYPE HTML><html><head><meta charset="utf-8"><title>示範:jQuery Easing 動畫效果擴充</title><meta name="keywords" content="jquery.easing.js,動畫效果, jquery外掛程式" /><meta name="description" content="Helloweba示範平台,示範XHTML、CSS、jquery、PHP案例和樣本" /><link rel="stylesheet" type="text/css" href="../css/main.css" /><style type="text/css">.demo{width:860px; margin:20px auto}#alist{margin:10px}#alist li{float:left; height:24px; line-height:24px; padding:2px 10px; margin:4px; border:1px solid #d3d3d3; background:#f7f7f7; cursor:pointer}#alist li:hover{background:#fefefe}#alist li:visited{color:#999}#show{width:760px; height:50px; background:#f7f7f7; border:1px solid #d3d3d3; margin:10px auto; clear:both}</style><script type="text/javascript" src="http://mall.wiwide.com/js/jquery-1.7.2.min.js"></script><script type="text/javascript" src="jquery.easing.min.js"></script><script type="text/javascript">$(function(){$("#alist li").click(function(){$(this).css({"color":"#999","background-color":"#fdfdfd"});var action = $(this).attr(‘rel‘);$(‘#show‘).height(50).animate({height:500},{easing: action,duration: 500,complete:function(){}});});});</script></head><body><div id="header"><div id="logo"><h1><a href="http://www.helloweba.com" title="返回helloweba首頁">helloweba</a></h1></div></div><div id="main"><h2 class="top_title"><a href="http://www.helloweba.com/view-blog-212.html">jQuery Easing 動畫效果擴充</a></h2><div class="demo"><ul id="alist"><li rel="linear">linear</li><li rel="swing">swing</li><li rel="jswing">jswing</li><li rel="easeInQuad">easeInQuad</li><li rel="easeOutQuad">easeOutQuad</li><li rel="easeInOutQuad">easeInOutQuad</li><li rel="easeInCubic">easeInCubic</li><li rel="easeOutCubic">easeOutCubic</li><li rel="easeInOutCubic">easeInOutCubic</li><li rel="easeInQuart">easeInQuart</li><li rel="easeOutQuart">easeOutQuart</li><li rel="easeInOutQuart">easeInOutQuart</li><li rel="easeInQuint">easeInQuint</li><li rel="easeOutQuint">easeOutQuint</li><li rel="easeInOutQuint">easeInOutQuint</li><li rel="easeInSine">easeInSine</li><li rel="easeOutSine">easeOutSine</li><li rel="easeInOutSine">easeInOutSine</li><li rel="easeInExpo">easeInExpo</li><li rel="easeOutExpo">easeOutExpo</li><li rel="easeInOutExpo">easeInOutExpo</li><li rel="easeInCirc">easeInCirc</li><li rel="easeInOutCirc">easeInOutCirc</li><li rel="easeInElastic">easeInElastic</li><li rel="easeOutElastic">easeOutElastic</li><li rel="easeInOutElastic">easeInOutElastic</li><li rel="easeInBack">easeInBack</li><li rel="easeInOutBack">easeInOutBack</li><li rel="easeInBounce">easeInBounce</li><li rel="easeOutBounce">easeOutBounce</li><li rel="easeInOutBounce">easeInOutBounce</li></ul><div id="show">---目標元素高度變化---</div><br/></div></div><div id="footer"><p>Powered by helloweba.com 允許轉載、修改和使用本站的DEMO,但請註明出處:<a href="http://www.helloweba.com">www.helloweba.com</a></p></div></body></html>

 

 

easing.rar

 

jquery.easing的使用

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.