MARQUEE tag usage

xiaoxiao2021-03-06  104

Active subtitles, also known as scrolling, scrolling subtitles. The use of event subtitles makes the entire page more dynamic and is very angry. Nowadays, there are more and more active subtitles to enhance the interactivity of the webpage. Programming with JavaScript can achieve a moving subtitle effect; use Dreamweaver's layer with its timeline function to make a very beautiful scroll. The code required by HTML Active Subtitle Marker is the least, which is indeed possible to exchange better with less download time. The tag syntax is as follows: It can be seen that the optional parameters are also a variety of display modes. The meaning of each parameter is explained: Align: It is the location of the setting activity subtitles, but except for the left, hound, live in three positions, and adds two kinds of (align = TOP) and back (align = BOTTOM). position. BGColor: The background color used to set the event subtitles is usually the number of hexadecimal numbers. Direction: The scrolling direction for setting the activity subtitles is to the left, right, upward, down. Behavior: It is used to set the scroll, mainly three ways: behavior = "scroll" means scrolling from one end to the other; Behavior = "slide": indicates that the one end is quickly sliding to the other side, and no repetition; behavior = "Alternate" means scrolling back and forth at both ends. HEIGHT: Used to set the height of the scroll subtitles. Width: Sets the width of the scrolling subtitles. HSPACE and VSPACE: The width of the left and right borders and upper and lower frames are used to set the scrolling subtitles, respectively. Scrollamount: The scroll distance used to set the activity subtitles. ScrollDelay: It is used to set the delay between scrolling twice. LOOP: Used to set the number of scrolles, when LOOP = -1 indicates, until the page is updated. The default case is to scroll to the left, the height of the subtitle is the height of the text, the rolling range: the horizontal rolling width is the width of the current position; the height of the vertical scrolling is the height of the current position.

转载请注明原文地址:https://www.9cbs.com/read-104373.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.033, SQL: 9