<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的默认单位
分享到:
相关推荐
yuicompressor.jar是JS压缩工具、前端优化神器、yuicompressor-2.4.8.jar
yuicompressor-2.4.2.jar yuicompressor-2.4.7.jar jsZip.exe yuicompressor yui compressor js压缩工具 javascript压缩工具 css压缩工具 ------------------------------------ //压缩JS java -jar yui...
yuicompressor-maven-plugin, 用于压缩 (Minify/Ofuscate/Aggregate) Javascript文件和使用 YUI 压缩器的CSS文件的Maven 插件 [[Flattr this git repo] ( http://api.flattr.com/button/flattr-badge-large.png)]...
yuicompressor-maven-plugin用于maven的压缩js用
压缩JS所使用jar包!...压缩JS:java -jar yuicompressor-2.4.jar --type js xxx.js -o xxx.js --charset utf-8 压缩CSS:java -jar yuicompressor-2.4.jar --type css xxx.css -o xxx.css --charset utf-8
JS压缩工具、前端优化神器、yuicompressor-2.4.8.jar、
用于压缩javascript脚本。 这个玩意,用来压缩JS文件。 jsMinifier为何物呢? jsMinifier是一个压缩JS文件的简单的工具,可以方便的集成到windowS中,使用winzip一样的去压缩JS文件(右键点击未压缩的JS文件,选择...
yui3-master.zip
该工具可以压缩js和css代码
eclipse 中maven项目中的 *.js *.css 文件使用 yuicompressor-maven-plugin 插件压缩
yuicompressor.jar js/css压缩 //压缩JS java -jar yuicompressor-2.4.2.jar --type js --charset utf-8 -v src.js > packed.js //压缩CSS java -jar yuicompressor-2.4.2.jar --type css --charset utf-8 -v src...
yui-yuidoc-yuidoc-50-529-gc631758
YUICompressor在压缩的过程中无法合并文件,如处理10个文件只能生成10个文件,于是写了一个自动化脚本,只需修改一下criptList.txt文件,及可将里边的文件合并压缩成一个文件。 注:jar包是在win7 32位环境下编译
webstorm/phpstorm处理Javascript和css压缩必备。下载后在工具文件-设置-工具集 - file watchers配置即可,详细使用方式不清楚可以@我
压缩工具YUI-compressor 压缩工具层次不穷,各有优点,选择适合的压缩工具为将来做项目开发使用是一件很重要的事情!!在这介绍YUI-compressor