包含的类有: Fx.Elements
MIT-style license.
Fx. Elements.js | 包含的类有: Fx.Elements |
Fx. Elements | Fx.Elements使你能够把任意多个效果应用到你选定的一组元素上面 |
属性 | |
start | 把指定的效果应用到给出的元素上 (参考下面的示例). |
把指定的效果应用到给出的元素上 (参考下面的示例).
var myElementsEffects = new Fx.Elements($$('a'));
myElementsEffects.start({
'0': { //对元素集合中的第1个元素的opacity和width实行效果
'opacity': [0,1],
'width': [100,200]
},
'4': { //对元素集合中的第5个元素的opacity实行效果
'opacity': [0.2, 0.5]
}
});
Documentation by Aaron Newton & Mootools Developers, generated by NaturalDocs and tidy, and GeSHi
文档中文翻译:zarknight 勘误Email:zarknight@gmail.com asp之家