YUI Research -- Animation Module
来源:互联网 发布:淘宝下载安装免费 编辑:程序博客网 时间:2024/05/31 19:22
<script type="text/javascript"><!--google_ad_client = "pub-0241434510974184";/* 博客文章广告728x90, */google_ad_slot = "7316585398";google_ad_width = 728;google_ad_height = 90;// --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>
YAHOO.util.Anim 实现动画的基础功能
patterns
正则表达式缓存。
toString() 打印id
doMethod(attr, start, end) 返回经过动画策略计算的值
setAttribute(attr, val, unit) 设置元素的样式
判断attr是否是非负属性,如果是且val<0,则把val置0。不为负值的属性是width,height,opacity和padding。
getAttribute(attr) 获取元素当前属性值
当attr为width、height、top或left的时,其值有可能是auto,所以要用offsetXXX计算。
getDefaultUnit(attr) 获取attr的默认单位
- YUI Research -- Animation Module
- YUI Research -- Event Module
- YUI Research -- DragDrop Module
- YUI Research -- DOM module
- YUI Research -- YAHOO module
- YUI Research -- Connection Manager module
- YUI 研究 -- Animation 模块
- Research on Skeletal Animation (Another one)
- 用YUI Animation 和css实现超酷导航菜单
- YUI
- yui
- YUI
- Research
- Research
- 让Yui-tree有ext一样的expand和collapse的animation
- Weex Android SDK源码分析之Module(animation)
- YUI-EXT
- YUI--grids
- 软件版本常识和软件版本号命名规则
- Story of my programming life
- JavaScript为不同浏览器添加事件
- Yahoo YUI的Ajax工具包
- A590入手
- YUI Research -- Animation Module
- YUI Research -- DragDrop Module
- Google高级技巧—GooGle Hack
- 互联网状况报告:85%中国网民不信任互联网
- YUI Research -- DOM module
- MSND webcast 资料系列下载收藏 - ASP.NET
- YUI Research -- YAHOO module
- 自定义Web上传控件设计
- 七种qsort排序方法