replaced by CSS• For elements like basefont, big, center, font, s, strike, tt, and u, their functions are purely Image Display services, HTML5 advocates unified editing of the image display function in the CSS style sheet, so these elements are abolished
2. frame framework is no longer used• For frameset elements, frame Elements, and noframes elements, the frame framework does not support the frame framework and only the iframe framework in
There are many versions of the Android marquee, from the most basic textview, to rewriting the TextView to make the TextView remove the focus limit, as well as rewrite TextView use Scrollto method written, basic can meet the general needs. However, in the process of use, found some unexpected---sometimes do not play, the refresh thread continues but does not play, and finally on GitHub to find an animated marquee
Marquee. jsParameter description:The ID of the demo subtitle area tag (div;Demo1/demo2: The ID demo1 of the content tag (div or td) is the original content, and demo2 is its copy;Ction subtitle direction (up, down, left, right );Delay the delay time of subtitle playback (MS );Step: The Stride of subtitle playback (I .e., the smaller the stride, for example, step = 1, the smoother the scrolling)Function Marquee
By using the mobile property marquee, you can not only dance your text, but also apply it to pictures, tables, and so on.
Syntax:
...
By using the mobile property marquee, you can not only dance your text, but also apply it to images, tables, and so on.
Welcome to the first PHP community!
Direction = left, indicating the direction. The text above shows "Welcome to kiccom Youth Learning Channel !"
This article mainly introduces the TextView the controllable marquee effect realization.Android comes with the TextView add a few properties can realize the marquee effect, presumably so Android:ellipsize= "marquee" android:focusable= "true" android:focusableintouchmode= " True A marquee effec
Marquee. js
Parameter description:The ID of the demo subtitle area tag (DIV;Demo1/demo2: The ID demo1 of the content tag (Div or TD) is the original content, and demo2 is its copy;Ction subtitle direction (Up, down, left, right );Delay the delay time of subtitle playback (MS );Step: The Stride of subtitle playback (I .e., the smaller the stride, for example, step = 1, the smoother the scrolling)
Function mar
A recent project because the layout textview content is too long. The first thought is the marquee effect, so the TextView once again their own definition, although the effect of the happy lantern is achieved. Just cause there is a problem is edittext input problem, when the first click on the EditText can pop up the soft keyboard, just the soft keyboard off, again click on the TextView will not be able to play a soft keyboard, baffled its solution. S
There are many ways to implement a marquee, the simplest of which is to use an HTML code to implement, we insert the "
Parameters
Usage Introduction
Behavior=scroll, Slide, alternate
Happy way: Cycle around, only once to stop, back and forth movement
Direction=left,right
Racing direction: Left to right, right to left
loop=100
Happy times: loop 100 times, if not write default t
Original: HTML tag marquee for scrolling effectPage 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, defa
Marquee tag, Trojan lights, continuous blank-free playback effect, pure CSS (effective for chrome opera), marqueechrome
Marquee does not seem to have any attribute set for playing at the beginning or end. When the content is scrolled, there is always a gap in the length of marquee, which is inconvenient in some cases;
After a while, the key points of a solution a
Detailed usage of marquee first look at the html attributes of marquee
…
Align: -- LEFT, CENTER, RIGHT, TOP, BOTTOM (needless to say)Behavior: -- used to set the scroll mode, mainly in three ways:Behavior = "scroll" -- indicates rolling from one end to the other;Behavior = "slide": -- indicates that one end quickly slides to the other end without repeating it;Behavior = "alternate" Default Valu
TextView achieve "marquee effect" with scrolling caption effect:Android:ellipsize= "marquee"//scrollable, Star (head), Middle (middle), end (tail) beyond the displayed content with ... ReplaceImplementation conditions1. Must be set to a single-line display, and the content in the TextView exceeds its capacity,The 2.TextView itself has no focus and must be set to get focusAndroid:layout_width= "100DP"android
In ApiDemo of Android, there is a Button drive effect, but it is still a little different if it is changed to TextView.
Define Marquee, mainly in Project/res/layout/main. xml
Copy codeThe Code is as follows: Android: layout_width = "40px"
Android: layout_height = "wrap_content"
Android: text = "Test marquee for TextView"
Android: layout_gravity = "center"
Android: ellipsize = "
The so-called marquee effect is the effect of scrolling within the control when the text exceeds the space that the control can hold.The prerequisite for displaying the marquee effect is that your text content is longer than the external component that displays the text, that is, the external component is not able to fully display the internal text content.TextView set the following properties to achieve th
Problem: In the use of marquee label content scrolling found that content in the IE8 can not be continuously scrolling, that is, "content does not disappear from the Web page" repeatedly rolling. Scrolls directly when the width is full once, without scrolling the rest of the content continuously.
Reason: IE8 no longer supports marquee
Workaround: Add
In addition: If individual IE8 can be conti
HTML tags- can achieve a variety of scrolling effects, without JS control. Use the marquee tag not only to move text, but also to move pictures, tables, and so on. Just enter the content you want to scroll inside First, label properties1. 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 fo
Main parameters:
Behavior
How to move
Scroll cyclic movement
Slide only move one turn
Alternate move back and forth
direction
Move direction
Left
Right
Up
Down
ScrollAmount
Movement speed. Take an integer, the higher the value, the faster
Scrolldelay
Delay (walk and stop). In milliseconds, the default is 85. If the setting is less than 60, 60 is used by default unless Truespeed
The text marquee must have several text attributes set:android:marqueerepeatlimit= "Marquee_forever" set the number of marquee: PermanentAndroid:ellipsize= "marquee" marquee wayAndroid:focusable= "true" gets focusAndroid:singleline= "true" lineAndroid:focusableintouchmode= "true" to get focus with touchThe width of the
I have found a lot of examples on the Internet about how textview can be implemented. There are some problems in implementation, for example, completely re-drawing a marquee, in addition, you can only set the relevant attributes of textview to make it effective. In general, both methods are feasible, but both have their shortcomings. The first method is too complicated, it is difficult to implement. The second one is that it only has the effect of run
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.