-
Velocity.js插件,用于做動畫 官網:http://julian.com/research/velocity查看全部
-
注冊自定義動畫RegisterEffect==RegisterUI查看全部
-
注意:在調用自定義動畫的時候不需要callout查看全部
-
官網的預定義動畫,搜索pre-registered查看全部
-
1.要實現div中文字上下居中,通過line-height設置成div高度即可 2.transition屬性查看全部
-
Velocity.js特別適用于動畫序列的場景查看全部
-
源代碼下載地址:http://pan.baidu.com/s/1dDoF9T3查看全部
-
源代碼下載地址:http://pan.baidu.com/s/1dDoF9T3查看全部
-
源代碼下載地址:http://pan.baidu.com/s/1dDoF9T3查看全部
-
源代碼下載地址:http://pan.baidu.com/s/1dDoF9T3查看全部
-
$.Velocity.RegisterEffect("動畫名",{ //動畫時間 defaultDuration:300, calls:[ //0.5表示占用=default時間的百分比 [{scaleX:1.1},0.5] ] })查看全部
-
// (function($){ // $("#box1").velocity({ // width:'300px', // height:'300px' // },{ // duration:1000, // complete:function(){ // $("#box2").velocity({ // width:'300px', // height:'300px' // },{ // duration:1000, // delay:1000 /*延時1s*/ // }); // } // }); // })(jQuery); (function($){ var seq=[ { elements:$("#box1"), properties:{width:'300px'}, options:{duration:1000} }, { elements:$("#box2"), properties:{width:'300px'}, options:{duration:1000} } ]; $.Velocity.RunSequence(seq); })(jQuery);查看全部
-
var seq=[{elements:$("#div1")}, properties:{width:'300px'}, options:{duration:1000}},] $.Velocity.RunSequence(seq);查看全部
-
http://julian.com/research/velocity/ 專門做動畫的插件查看全部
-
http://julian.com/research/velocity/查看全部
舉報
0/150
提交
取消