Marquee Parse Picture scrolling

Source: Internet
Author: User

<marquee id= ' Quee ' scrollamount= ' 2 ' scrolldelay= ' direction= ' left ' width= ' 100% ' height= ' 128 ' ' onmouseover= ' This.stop () ' onmouseout= ' This.start () ' >

<a href= ' # ' ></a>

<a href= ' # ' ></a>

<a href= ' # ' ></a>

<a href= ' # ' ></a>

</marquee>

Here are some explanations:

Align: is to set the position of the active caption, in addition to the left, center, the right three positions, but also to increase the upper (top) and bottom (bottom) two positions.


bgcolor: Used to set the background color of the active caption, you can use the English word can also be a hexadecimal number.


Direction: The scrolling direction used to set the active marquee is left, right, up (up), down (down).


Behavior: The way to set up scrolling is mainly made up of three different ways:
Behavior= "Scroll" means to scroll from one end to the other end;
behavior= "Slide": means to slide quickly from one end to the other and not repeat;
Behavior= "alternate" means scrolling back and forth between the ends.


Height: Used to set the height of the scrolling marquee.


Width: Sets the length of the scrolling marquee.


Hspace and Vspace: Sets the width of the left and right borders and the top and bottom borders of the scrolling marquee, respectively.


ScrollAmount: Used to set the scrolling distance of the active caption. The smaller the number, the faster the scrolling.


Scrolldelay: Used to set the delay between scrolling two times, the smaller the number, the smaller the interval.


Loop: Sets the number of times to scroll, when loop=-1 indicates that it has been scrolling until the page is updated. The default is to scroll to the left indefinitely, the caption height is the text height, the scrolling range: the width of the horizontal scroll is the width of the current position, and the height of the vertical scroll is the height of the current position.

Onmouseover= ' This.stop () ' onmouseout= ' This.start () ':

This is the mouse moved to the marquee area, scrolling will stop, move out, and continue scrolling.

Wow haha.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.