当前位置: 代码迷 >> HTML/CSS >> 为什么效果只能在火狐的浏览器实现,IE、chrome要么效果不理想,要么不行
  详细解决方案

为什么效果只能在火狐的浏览器实现,IE、chrome要么效果不理想,要么不行

热度:185   发布时间:2013-08-09 15:16:24.0
求助为什么效果只能在火狐的浏览器实现,IE、chrome要么效果不理想,要么不行
同上,求助呢,还有求助高手解决marquee开始可不可以静止呢。

<div style="float:left">
<div style="width:400px; height:300px;float:left">
    <div style="width:100px; height:300px;float:left">
<div style="width:100px; height:100px">
         <marquee style="width:100px; height:100px;direction="left" behavior=alternate onMouseout="this.stop()" onMouseOver="this.start()" direction="down"">
            <img src="http://img03.taobaocdn.com/imgextra/i3/1695229512/T2LgsIXh8XXXXXXXXX_!!1695229512.jpg" style=" height:99%; width:99%" onmousemove={chane.src='http://img03.taobaocdn.com/imgextra/i3/1695229512/T2LgsIXh8XXXXXXXXX_!!1695229512.jpg'} />
            </marquee>
        </div>
       <div style="width:100px; height:100px">
       <marquee style="width:100px; height:100px;direction="left" behavior=alternate onMouseout="this.stop()" onMouseOver="this.start()" direction="down"">
         <img src="http://img02.taobaocdn.com/imgextra/i2/1695229512/T281D0XetbXXXXXXXX_!!1695229512.jpg" style=" height:99%; width:99%" onmousemove={chane.src='http://img02.taobaocdn.com/imgextra/i2/1695229512/T281D0XetbXXXXXXXX_!!1695229512.jpg'} />
        </marquee></div>
        <div style="width:100px; height:100px">
         <marquee style="width:100px; height:100px;direction="left" behavior=alternate onMouseout="this.stop()" onMouseOver="this.start()" direction="down"">
            <img src="http://img03.taobaocdn.com/imgextra/i3/1695229512/T2.5oIXfdXXXXXXXXX_!!1695229512.jpg" style=" height:99%; width:99%" onmousemove={chane.src='http://img03.taobaocdn.com/imgextra/i3/1695229512/T2.5oIXfdXXXXXXXXX_!!1695229512.jpg'} />
        </marquee></div>    
    </div>
    <div style="width:300px; height:300px;float:left">
      <img id="chane" src="http://img03.taobaocdn.com/imgextra/i3/1695229512/T2LgsIXh8XXXXXXXXX_!!1695229512.jpg" style=" height:100%; width:100%" />
    </div>
  相关解决方案