News Scrolling Marquee Tags

Source: Internet
Author: User

First on the code:

<MarqueeBehavior=""direction= "Up"OnMouseOver= "This.stop ()"onmouseout= "This.start ()">                  <ul>                    <Li><ahref="#"Target="">China Big Data Application Blue Book on line, welcome onlookers.</a></Li>                    <Li><ahref="#"Target="">China Big Data Application Blue Book on line, welcome onlookers.</a></Li>                    <Li><ahref="#"Target="">China Big Data Application Blue Book on line, welcome onlookers.</a></Li>                    <Li><ahref="#"Target="">China Big Data Application Blue Book on line, welcome onlookers.</a></Li>                </ul></Marquee>

There are a number of properties supported by the MARQUEE tag:

direction means scrolling method, default is left, you can take a value of 4, respectively, is a left,right,up,down

behavior means scrolling, the value can be scroll (continuous scrolling) slide (swipe once) alternate (scroll back and forth)

Loop indicates the number of cycles, the value is a positive integer, and the default is an infinite loop

ScrollAmount represents the movement speed, the value is a positive integer, the default is 6

Scrolldelay represents a pause time, the value is a positive integer, the default is 0, the unit appears to be a millimeter,

Align represents the vertical alignment of the element, the value can be top,middle,bottom, and the default is middle

bgcolor represents the background color of the motion area, the value is 16 RGB color, the default is white

Height, width indicates the heights and widths of the motion area, the value is a positive integer (in pixels) or a percentage, the default width=100% height for the element within the label

Hspace, vspace represents the horizontal and vertical distance of the element to the area boundary, and the value is a positive integer in pixels.

onmouseover=this.stop () Onmouseout=this.start ( ) indicates that scrolling stops when the mouse is over the area and continues scrolling when the mouse is moved.

Reference post: http://blog.sina.com.cn/s/blog_49ce67fc0100atb4.html

Http://www.sha-long.com/show-9-684-1.html

News Scrolling Marquee Tags

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.