使用走馬燈 marquee,如果第一個是 img 標記,會不正常顯示!!!
<marquee behavior="scroll"
direction="left"
height="20"
width="200"
scrollamount="2"
scrolldelay="50"
truespeed onmouseover=this.stop() onmouseout=this.start()>
<img src='image/product_icon1.gif' width='14' height='14'>最新促銷商品最新促銷商品最新促銷商品最新促銷商品
<img src='image/product_icon1.gif' width='14' height='14'>最新促銷商品2
<img src='image/product_icon1.gif' width='14' height='14'>gjhgjhjhgjhjljlklkjlkjlk
</marquee>
只要把第一個 img 標記拿掉才可正常顯示!!!
在 IE 6 及 Firefox 都沒這個問題!!!!!!
<marquee behavior="scroll"
direction="left"
height="20"
width="200"
scrollamount="2"
scrolldelay="50"
truespeed onmouseover=this.stop() onmouseout=this.start()>
<img src='image/product_icon1.gif' width='14' height='14'>最新促銷商品最新促銷商品最新促銷商品最新促銷商品
<img src='image/product_icon1.gif' width='14' height='14'>最新促銷商品2
<img src='image/product_icon1.gif' width='14' height='14'>gjhgjhjhgjhjljlklkjlkjlk
</marquee>
只要把第一個 img 標記拿掉才可正常顯示!!!
在 IE 6 及 Firefox 都沒這個問題!!!!!!