摘要: 1.0 函数执行错误 速度声明放在setInterval 里面 这里素的是随着时间变化调整 越来越慢的。 function stareMove(obj,iTarget) { var speed=(iTarget-obj.offsetWidth)/4;speed=speed>0?Math.ceil(s 阅读全文
posted @ 2016-11-02 14:49 不学无丨 阅读(305) 评论(0) 推荐(0)
摘要: 1.0 代码: obtn1.onclick=setInterval(show,1000); obtn1.onclick=function() { setInterval(show,1000) } 2.0清空时间 设置返回值! odiv2.onmouseout=function() { setTime 阅读全文
posted @ 2016-10-21 15:07 不学无丨 阅读(152) 评论(0) 推荐(0)