scrolling marquee tag

marquee Syntax
    <marquee> </ marquee>

Examples of a
<marquee> Hello, World </ marquee>

two events common to the marquee:
onMouseOut = "this.start ()" when the mouse out of the region
onMouseOver = "this.stop () "when the mouse is moved into the region

instance two
<marquee onMouseOut =" this.start () "onMouseOver =" this.stop () "> common to the two events marquee </ marquee>


below what began supported marquee the property


Beha
viorset rolling manner:
    Alternate: rolling back and forth.

    scroll: Repeats scroll.
    slide: do not repeat scroll.

code show as below:

<Marquee behavior = "alternate"> scroll back and forth. </ Marquee>

<Marquee behavior = "scroll"> repeat scroll. </ Marquee>

<Marquee behavior = "slide"> will not be repeated rolling. </ Marquee>

 

bgcolor set the background color of the active subtitles.

code show as below:

<Marquee bgcolor = "# 006699"> set the background color of subtitles activities </ marquee>

<Marquee bgcolor = "RGB (10%, 50%, 100%,)"> set the background color of subtitles activities </ marquee>

<Marquee bgcolor = "red"> subtitles activities set the background color </ marquee>

 

direction set the scrolling direction subtitles activities

code show as below:

<Marquee direction = "down"> subtitles activities set down scroll direction </ marquee>

<Marquee direction = "left"> subtitles activities set scrolling leftward </ marquee>

<Marquee direction = "right"> setting activities subtitles rolling direction right </ marquee>

<Marquee direction = "up"> set up the rolling direction of the movable subtitles </ marquee>

 

height set height activities subtitles

code show as below:

<Marquee height = "500" direction = "down" bgcolor = "# CCCCCC"> set height subtitles activities </ marquee>

 

width subtitles activities set width

code show as below:

<Marquee width = "500" bgcolor = "# CCCCCC"> set the width of the movable subtitles </ marquee>

 

loop a set number of rolling, when loop = -1 has been expressed scroll down, defaults to -1

code show as below:

<Marquee loop = "- 1" bgcolor = "# CCCCCC"> I'll nap. </ Marquee>

<Marquee loop = "2" bgcolor = "# CCCCCC"> I only go twice Oh </ marquee>

 

scrollamount subtitles activities set the scroll speed in pixels

code show as below:

<marquee scrollamount="10" >scrollamount="10" </marquee>

<marquee scrollamount="20" >scrollamount="20" </marquee>

<marquee scrollamount="30" >scrollamount="30" </marquee>

 

scrolldelay rolling subtitles activities set the delay time between the two units millisecond (ms)

There will be a big step in the value of a pause effect

code show as below:

<marquee scrolldelay="10" >scrolldelay="10" </marquee>

<marquee scrolldelay="100" > scrolldelay="100"</marquee>

<marquee scrolldelay="1000">scrolldelay="1000" </marquee>

Guess you like

Origin www.cnblogs.com/niuyaomin/p/11515146.html