摘要: 1、blue老师编写完美运动框架,随意调用(可多次),兼容性好,用于多个物体多次运动(不是同时运动) 1 function getStyle(obj, name) 2 { 3 if(obj.currentStyle) 4 { 5 return obj.currentStyle[name]; 6 } 7 else 8 { 9 return getComputedStyle(obj, false)[name];10 }11 }12 13 function startMove(obj, attr, iTarget, fn... 阅读全文
posted @ 2013-11-01 10:42 远方的远方 阅读(410) 评论(0) 推荐(0)