摘要: Chain.Wait通过对Chain类的callChain方法设置延时,来设置链式调用一组函数时两个被调函数之间的时间间隔。 Chain.Wait模块同时对Chain、Fx、Element进行了扩展,源代码简洁明了,这里不做特别分析,使用说明参看官方文档。 需要提示的是如果要在Fx特效实例应用Chain.Wait的功能,一定要在构造函数中设置可选参数link值为'chain',具体说明参考MooTools 1.4 源码分析 - Fx。 另外把MooTool官方Demo中的Chaining示例改动了一下,使用Chain.Wait方法设置特效的时间间隔,查看代码和示例请猛击这里。 阅读全文
posted @ 2011-09-30 15:39 苦苦的苦瓜 阅读(296) 评论(0) 推荐(0) 编辑
摘要: Mootools1.4 - Fx.Morph类的源码分析,如果理解有误欢迎指正:View Code 1 /* 2 --- 3 4 name: Fx.Morph 5 6 description: Formerly Fx.Styles, effect to transition any number of CSS properties for an element using an object of rules, or CSS based selector rules. 7 8 license: MIT-style license.... 阅读全文
posted @ 2011-09-30 15:38 苦苦的苦瓜 阅读(1018) 评论(3) 推荐(0) 编辑
摘要: Mootools1.4 - Fx.Tween类的源码分析,如果理解有误欢迎指正:View Code 1 /* 2 --- 3 4 name: Fx.Tween 5 6 description: Formerly Fx.Style, effect to transition any CSS property for an element. 7 8 license: MIT-style license. 9 10 requires: Fx.CSS 11 12 provides: [Fx.Tween, Elemen... 阅读全文
posted @ 2011-09-30 15:36 苦苦的苦瓜 阅读(895) 评论(0) 推荐(0) 编辑
摘要: 本文参考了我佛山人的Mootools1.2的源码分析二十九 -- Fx.CSSView Code 1 /* 2 --- 3 4 name: Fx.CSS 5 6 description: Contains the CSS animation logic. Used by Fx.Tween, Fx.Morph, Fx.Elements. 7 8 license: MIT-style license. 9 10 requires: [Fx, Element.Style] 11 12 provides: Fx.CS... 阅读全文
posted @ 2011-09-30 15:35 苦苦的苦瓜 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Mootools1.4 - Fx源码分析,如果理解有误欢迎指正:View Code 1 /* 2 --- 3 4 name: Fx 5 6 description: Contains the basic animation logic to be extended by all other Fx Classes. 7 8 license: MIT-style license. 9 10 requires: [Chain, Events, Options] 11 12 provides: Fx 13 14 ... 阅读全文
posted @ 2011-09-30 15:33 苦苦的苦瓜 阅读(959) 评论(0) 推荐(0) 编辑
摘要: MooTools由1.3升级到1.4的过程中,这几个核心模块只有String模块和Event模块(现在已修改为DOMEvent)做了比较大的修改,这几个模块源码的分析参考棍子上的萝卜所写的1.3的源码分析就可以了:mootools 1.3 源码分析-Type(上半部分)mootools 1.3 源码分析-Type(下半部分)mootools 1.3 源码分析-Arraymootools 1.3 源码分析-String,Numbermootools 1.3 源码分析-Function,Objectmootools 1.3 源码分析-Browsermootools 1.3 源码分析-Event 阅读全文
posted @ 2011-09-30 14:05 苦苦的苦瓜 阅读(612) 评论(2) 推荐(0) 编辑
摘要: MooTools最重要的两个核心模块,一个是Type,另一个就是Class,Type的源码分析已经有棍子上的萝卜分析了1.3版本的了,Class的源码分析网上只有1.2版本的,在1.3版本已经有了大的改变,现在把1.4版的Class尝试分析下,如理解有误欢迎指正:View Code 1 /* 2 --- 3 4 name: Class 5 6 description: Contains the Class Function for easily creating, extending, and implementing reusable Cla... 阅读全文
posted @ 2011-09-30 14:01 苦苦的苦瓜 阅读(2418) 评论(1) 推荐(1) 编辑