Home >Web Front-end >JS Tutorial >Use marquee and div js respectively to achieve the end-to-end circular scrolling effect, only 3 lines of code_javascript skills

Use marquee and div js respectively to achieve the end-to-end circular scrolling effect, only 3 lines of code_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:01:481654browse
Copy code The code is as follows:




Use marquee and div js respectively to achieve the end-to-end circular scrolling effect

< BODY>
Use marquee to achieve the end-to-end circular scrolling effect (IE only):


Here is the content to be scrolled


Use DIV javascript to achieve end-to-end circular scrolling effect (compatible with firefox):


Here is the content to be scrolled




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