开发者

tween or morph many elements based on css class selector using mootools?

开发者 https://www.devze.com 2022-12-29 09:28 出处:网络
how do i tween/morph the height of many e开发者_开发技巧lements at once selected by css class selector using mootools?

how do i tween/morph the height of many e开发者_开发技巧lements at once selected by css class selector using mootools?

thanks :)


Basics of MooTools:

$$('div').each(function(el, index){
    el.morph({
        height: 100 * index
    });
});​

Example: http://jsfiddle.net/mbrNq/

0

精彩评论

暂无评论...
验证码 换一张
取 消