var area = document.getElementById('moocBox');
var con1 = document.getElementById('con1');
var con2 = document.getElementById('con2');
con2.innerHTML=con1.innerHTML;
function ss(){
if(area.scrollTop >= con1.offsetHeight){
area.scrollTop=0;
}else{
area.scrollTop++;
}}
var myss = setInterval('ss()', 50);
area.onmouseover = function(){
clearInterval(myss);
}
area.onmouseout = function(){
setInterval('ss()', 50);
}//老湿为什么我这样他就间歇性的 加速呢。为什么一定要给他一个值呢??????????????
一二三_0002
2014-08-30
1 回答
举报
0/150
提交
取消