Home >Web Front-end >JS Tutorial >div css js implements seamless scrolling similar to marquee seamless scrolling compatible with firefox_javascript tips

div css js implements seamless scrolling similar to marquee seamless scrolling compatible with firefox_javascript tips

WBOY
WBOYOriginal
2016-05-16 17:23:541314browse

div css javascript to achieve seamless scrolling, marquee seamless scrolling, seamless scrolling, compatible with firefox

Use marquee to achieve end-to-end circular scrolling effect (IE only):

Copy code The code is as follows:


Here is the content to be scrolled
< ;/marquee>

Use div css javascript to achieve end-to-end circular scrolling effect (compatible with firefox):
Copy code The code is as follows:








< div id="scrollobj" onmouseover="javascript:_stop();" onmouseout="javascript:_start();">
Here is the content to be scrolled

< script language="javascript" type="text/javascript">




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn