Home >Web Front-end >HTML Tutorial >HTML Marquee character fragment scrolling_HTML/Xhtml_web page production

HTML Marquee character fragment scrolling_HTML/Xhtml_web page production

WBOY
WBOYOriginal
2016-05-16 16:42:301595browse

The following attributes:

direction
Set the scrolling direction of active subtitles

The code is as follows:
Set the scrolling direction of active subtitles direction="down": toward Next
Set the scrolling direction of active subtitles direction="left": to the left
Set the scrolling direction of active subtitles direction="right": to the right
Set the scrolling direction of active subtitles direction="up": upward

behavior
Set the scrolling method:
alternate: expressed at both ends Scroll back and forth between.
scroll: means scrolling from one end to the other, and will be repeated.
slide: means scrolling from one end to the other without repetition.
The code is as follows:
alternate: means scrolling back and forth between the two ends.
scroll: Indicates scrolling from one end to the other, and will repeat.
slide: Indicates scrolling from one end to the other without repetition.

scrollamount
Set the scrolling speed of active subtitles in pixels
The code is as follows:
scrollamount="10"
scrollamount ="20"
scrollamount="30"

scrolldelay
Set the delay time between active subtitles scrolling twice, unit millisecond (millisecond)
A larger value will have the effect of one step and one pause
The code is as follows:
scrolldelay="10"
scrolldelay="100"
scrolldelay="1000"

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