这是js代码setTimeout(function() { //隐藏报表块report0_c的滚动条(此报表块名为report0_c,根据具体情况修改) $("div").find(".frozen-north").style.overflow = "hidden"; $("div").find(".frozen-center").style.overflow = "hidden";}, 100); window.flag2 = true;//鼠标悬停,滚动停止 setTimeout(function() { $("div").find(".frozen-center").mouseover(function() { window.flag2 = false; }); //鼠标离开,继续滚动 $("div").find(".frozen-center").mouseleave(function() { window.flag2 = true; }); var old = -1; var interval = setInterval(function() { if(window.flag2) { currentpos2 = $("div").find(".frozen-center").scrollTop; if(currentpos2 == old) { $("div").find(".frozen-center").scrollTop = 0; } else { old = currentpos2; //以25ms的速度每次滚动1.5PX $("div").find(".frozen-center").scrollTop = currentpos2 + 1.5; } } }, 25);}, 1000);我这个还要放到电视机上,在电视机上,没有隐藏滚动条,也不显示滚动条,但是马炮灯没有效果。在电脑上,有跑马灯效果,但是滚动条没有隐藏