请教一个问题,用谷歌浏览器把看板的网址设为主页,并设置最大化。谷歌浏览器放在windows10启动项里面,电脑开机,谷歌浏览器自动打开看板,但是内容不滚动。用鼠标点一下,就滚动。如何不点鼠标自动滚动。下面是系统初始事件代码 setTimeout(function() { $(\"div\").find(\"#frozen-center\").css(\'overflow-x\', \'hidden\'); $(\"div\").find(\"#frozen-center\").css(\'overflow-y\', \'hidden\'); $(\"div\").find(\"#frozen-north\").css(\'overflow-x\', \'hidden\'); $(\"div\").find(\"#frozen-north\").css(\'overflow-y\', \'hidden\'); $(\"div\").find(\".reportContent\").css(\'overflow-y\', \'hidden\'); $(\"div\").find(\".reportContent\").css(\'overflow-x\', \'hidden\'); }, 500); window.flag = true; setTimeout(function() { $(\"#frozen-center\").mouseover(function() { window.flag = false; }) //鼠标悬停,滚动停止 $(\"#frozen-center\").mouseleave(function() { window.flag = true; }) //鼠标离开,继续滚动 var old = -1; var interval = setInterval(function() { if (window.flag) { currentpos = $(\"#frozen-center\").scrollTop; if (currentpos == old) { $(\"#frozen-center\").scrollTop = 0; } else { old = currentpos; $(\"#frozen-center\").scrollTop = currentpos + 1.5; } } }, 100); //以25ms的速度每次滚动3.5PX }, 1000)