In the forum's default editing status, we can use the move and fly statements in the UBB syntax to move objects. However, the function is simple, but it only moves in parallel. The Marquee Statement of HTML can produce more moving effects: Left, right, up, and down. The nested use of the marquee statement is more effective.
Basic Syntax of Marquee:
Note: Lik
Marquee.js
Parameter description:
Demo Caption Area label (DIV) ID;
DEMO1/DEMO2 Displays the ID demo1 of the content label (DIV or TD) as the original content, and Demo2 is its copy;
Direction caption direction (up,down,left,right);
The delay time (milliseconds) of delay subtitles playback;
Step subtitle (i.e. pix, smaller step size, such as step=1, smoother scrolling)
Function Marquee (demo, Demo1, Demo2, direction, delay, step)
{
Direction = Dir
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 marquee tag is used to scroll the text in the available browsing area. This tag only applies to IE3 later versions of the browser.
Format:
Behavior= "..."
Bgcolor= "..."
Direction= "..."
Height= "..."
Width= "..."
Hspace= "..."
Vspace= "..."
Loop= "..."
Scrollamount= "..."
Scrolldelay= "..."
Onmouseout=this.start ()
Onmouseover=this.stop ()
"..."
Property:
ALIGN: Used to align scrolling text by a set value. The values that align can set a
, right, up, and down.Behavior: The way to set up scrolling is mainly in three ways: behavior= "Scroll" means scrolling from one end to the other, behavior= "slide": a quick slide from one end to the other, and no repetition; behavior= " Alternate "means to scroll 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 t
, right, up, and down.Behavior: Used to set the mode of scrolling, mainly from three ways: behavior= "Scroll" means from one end to the other end of the scroll;behavior= "Slide": Represents a quick slide from one end to the other and is no longer repeated; 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 t
Page Auto-scrolling effect, can be implemented by JavaScript, but today inadvertently found an HTML tag-Use marquee tags not only to move text, but also to move pictures, tables, and so on.Syntax:Important attributes:1. Scrolling direction direction (including 4 values: Up, down, left, and right)Syntax: 2. Scrolling mode behavior (scroll: cyclic scrolling, default effect; slide: stop only once scrolling; alternate: rotate back and forth)Syntax: 3. Scr
Previously, in front-end html code, the use of marquee to implement horizontal and vertical scrolling of text or images, but with the consideration of browser compatibility and compliance with w3c standards, next we will introduce how to use Jquery to implement the marquee effect on webpages. If you are interested, you can find out that, in the front-end html code, the
Previously, in front-end html code, the use of marquee to implement horizontal and vertical scrolling of text or images, but with the consideration of browser compatibility and compliance with w3c standards, next we will introduce how to use Jquery to implement the marquee effect on webpages. If you are interested, you can find out that, in the front-end html code, the
Tutorial on setting rolling subtitle Marquee amp; lt; marquee amp; gt; rolling text amp; lt;/marquee amp; gt; Direction amp; lt; direction = # amp; gt; # = left, right, u
Tutorial on rolling subtitle Marquee settings
Scroll text
Direction
# = Left, right, up, down
Method
# = Scroll, slide, a
Solve the problem of TextView text display is not complete.
Simply set the effect of the marquee:
TextViewAndroid:id="@+id/textview" Android:layout_width="Match_parent" Android:layout_height="Wrap_content" Android:ellipsize="marquee" Android:focusable="true" Android:focusableintouchmode="true" Android:text="@string/hello_world" Android:singleline="true"/>
2, t
=============== Problem description ====================
An activity contains multiple fragment, 1, 2, 3, 4
There are two textviews in fragment1. When fragment1 is started for the first time, the marquee can run normally;
When I jump to another fragment and then return to fragment1, will the marquee be no longer running?
Is this the focus of textview?
Please help me solve this problem ....
===========
================================= Problem description ========================== =
An activity contains multiple fragment, 1, 2, 3, 4
There are two textviews in fragment1. When fragment1 is started for the first time, the marquee can run normally;
When I jump to another fragment and then return to fragment1, will the marquee be no longer running?
Is this the focus of textview?
Please help me solve this
All marquee will be used. Have you tried nested Marquee?
The Binhai water friends of the laifi classic Forum really make everyone fall into the eye: d
Screen Protection effect:
Another parameter is behavior = "alternate"
Scroll: marquee scrolls in the direction set by direction. After the text is rolled to the header, it starts again. This is the default value
The automatic scrolling effect of the page, which can be implemented by JavaScript,But there is an HTML tag-Use marquee tags not only to move text, but also to move pictures, tables, and so on.Syntax:Important attributes:1. Scrolling direction direction (including 4 values: Up, down, left, and right)Syntax: 2. Scrolling mode behavior (scroll: cyclic scrolling, default effect; slide: stop only once scrolling; alternate: rotate back and forth)Syntax: 3.
As the number of Marquee labels is getting fewer and fewer, most of the scrolling effects are implemented using JavaScript.
Marquee is abandoned because marquee is a theme that seriously affects user experience. compressing dozens of lines of content to several rows of scrolling helps you compress the typographical space, but have you ever thought that users may
JQUERY+CSS3 Text Marquee Special effects is a marquee background made of 3D cube effect, text on the move, like a text projection to the wall, the corner will change the direction of movement.Effect Show http://hovertree.com/texiao/jquery/83/As follows:The full HTML code is as follows:DOCTYPE HTML>HTMLLang= "zh">Head>MetaCharSet= "UTF-8">Metahttp-equiv= "X-ua-compatible"content= "Ie=edge,chrome=1"> Metaname
Page Auto-scrolling effect, can be implemented by JavaScript, but today inadvertently found an HTML tag-Use marquee tags not only to move text, but also to move pictures, tables, and so on.Syntax:Important attributes:1. Scrolling direction direction (including 4 values: Up, down, left, and right)Syntax: 2. Scrolling mode behavior (scroll: cyclic scrolling, default effect; slide: stop only once scrolling; alternate: rotate back and forth)Syntax: 3. Scr
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.