Multiple font scrolling Methods

Source: Internet
Author: User
1.<Marquee id = "mar1" scrollamount = "2" direction = "up" Height = "100" onmouseout = "scollstart ()" onmouseover = "scollstop () "> content display </marquee>
Marquee parameters:

Bgcolor: the background color of the scroll text box.

Direction: Set the scroll direction. You can select left, right, up, and down.

Scrolldelay: the delay time between each scroll.

Scrollamount: the total time of a rolling. The smaller the number, the slower the rolling.

Behaviour: Set the scroll mode. Three values are: Scroll (Cyclic scroll) lide (single scroll) and alternate (back-and-forth scroll ).

Align: Specifies the align of text. You can select "Middle", "bottom", or "TOP ).

Width: the width of the scroll text box. after entering a value, select in pixels (by pixel) or in percent (by percentage) from the following single pixel ).

Height: the height of the scroll text box. after entering a value, select in pixels (by pixel) or in percent (by percentage) from the following single pixel ).

Loop: Number of scrolling times. The default value is infinite.
Hspace and vspace: Empty rows between front and back, and between top and bottom.
2. js

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.