marquee标签不工作悬停效果

时间:2014-08-21 10:17:29

标签: html css twitter-bootstrap-3

  <div class="col-sm-2 col-lg-2" style="padding-left:100px;width:600px;">

        <h4><label style="color:#000">UPDATED NEWS</label></h4>
        <marquee id="test" behavior="scroll" direction="up" height="100" width="350" scrolldelay="100" scrollamount="2" onmouseover="this.stop();" onmouseout="this.start();">
        <ul type="square" >
        <li><a href="#">Strategy / Roadmap</a></li>
        <li><a href="#">Porting & upgrades</a></li>
        <li><a href="#">Product / Apps</a></li>
        <li><a href="#">Platform Davelopment</a></li>
        <li><a href="#">Testing & Security</a></li>
        <li><a href="#">Enterprise Integration</a></li>
        </ul>
        </marquee>
    </div>

我正在使用以下HTML代码来停止关于悬停效果的内容:

1 个答案:

答案 0 :(得分:-1)

<marquee id="test" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2" onmouseover="this.stop();" onmouseout="this.start();"> TEXT HERE</marquee>

但是你的原始代码仍然有用,只需要关闭标记