摘要: 没什么技术难度,主要是Array对象的push()和shift()方法的调用。一般的实现方法,即直接分别在id为start和stop的button上添加onclick事件,然后执行相应的函数:html:<div id="test">这里是滚动的文字!</div><p class="btns"><button type="button" id="start">开始</button><button type="button" id=& 阅读全文
posted @ 2011-02-28 00:02 chemdemo 阅读(2269) 评论(0) 推荐(0) 编辑