move.js(运动函数封装)

调用:startMove(obj,json,endFn);html 参数说明:json obj:要运动的元素(必写)函数 json:是对象格式,对应为元素的属性和值(必写)code endFn:回调函数(无关紧要)htm 例子:对象 document.onclick = function(){ startMove(oDiv,{width:200,height:300}); }move.js代码
相关文章
相关标签/搜索