admin管理员组文章数量:1426237
Ok I have this html
<marquee scrollamount="6">
<a href="javascript:void(0)" ><img src="images/banner/03.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/04.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/05.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/06.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/07.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/03.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/04.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/05.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/06.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/07.gif" /></a>
</marquee>
this marque moves my images from right to left.
my question is, is there a way to know if the element is hidden already?
I'm planning to get the element that goes out of view then append it as last element of <marquee>
. I want to get an endless marquee. Please help me, I'm stuck.
Ok I have this html
<marquee scrollamount="6">
<a href="javascript:void(0)" ><img src="images/banner/03.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/04.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/05.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/06.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/07.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/03.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/04.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/05.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/06.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/07.gif" /></a>
</marquee>
this marque moves my images from right to left.
my question is, is there a way to know if the element is hidden already?
I'm planning to get the element that goes out of view then append it as last element of <marquee>
. I want to get an endless marquee. Please help me, I'm stuck.
1 Answer
Reset to default 2Use jquery + marquee plugin like http://remysharp./2008/09/10/the-silky-smooth-marquee/
<marquee>
tag is deprecated:
The marquee tag is a non-standard HTML element which causes text to scroll up, down, left or right automatically. The tag was first introduced in early versions of Microsoft's Internet Explorer, and was pared to Netscape's blink element, as a proprietary non-standard extension to the HTML standard with usability problems. It is deprecated by the W3C and not advised by them for use in any HTML documents.
本文标签: javascriptendless marqueeStack Overflow
版权声明:本文标题:javascript - endless marquee - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745424582a2658050.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论