我正在使用以下HTML代码来水平滚动文本:
<marquee behavior="scroll" direction="left" onmouseover="this.start();" onmouseout="this.stop();">Go on... hover over me!</marquee>
Run Code Online (Sandbox Code Playgroud)
我遇到的问题是,一旦您访问该页面,marquee开始自动滚动.我想要做的是冻结marquee直到你鼠标悬停.