JQuery achieves the effect of simulating the marquee tag, jquerymarquee
Marquee
Simulate the marquee effect under IE and move the mouse to pause. The main principle of Ring Formation is that once an external display window is determined for each image, it is added to the end. append and prepend are used to simulate the push () and shift () arrays ().
The Code is
The tutorial mainly uses Photoshop to make the rotating 3D Earth Animation tutorial, the production method is not difficult, but the 3D function in the Photoshop CS5 it to the video card's request is relatively high,
We can also try to make a bit of their own dongdong.
Final effect:
1. Open the material, use the rectangular marquee tool, draw the selection, execute-edit-fill, use the content
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
One, the first way: Implemented by the TextView control's own properties (but the disadvantage is that when multiple TextView want to achieve this effect, only the first one has an effect)The implementation method adds the following four properties:Android:singleline= "true"Android:ellipsize= "Marquee"Android:focusable= "true"Android:focusableintouchmode= "true"LinearLayoutxmlns:android= "Http://schemas.android.com/apk/res/android"Android:layout_widt
Method One: (can only achieve a single textview of the marquee effect)In TextView add the following controls android:singleline= "True" can only be a single line, the excess text appears as "..." android:ellipsize= "marquee" ellipsis no, but no marquee effect Android: Focusable= "true" android:focusableintouchmode= "true" method two: (can achieve multi-line TextV
DemandThe project needs to use a marquee to display only one message, the appropriate length does not scroll, too long the cycle of scrolling.Although I did not write, but looked at the code, is in a uiview inside put two Uilabel,At the end of the previous one, the other shows. However, click Processing is indeed a UIView click event.However, see, such as Subway, bus inside the marquee is divided into a lot
Web|web Standard
Jeanjean20 mentioned marquee How to modify to meet the standard . I looked at a few friends of the thread feel very good, moderator Greengnn specified marquee is not compliant with the standard has been abandoned by the consortium. Have a friend big dozen uneven say feel to go to have no reason, originally quite good effect now become gone. Also have a friend said to go good, look at the an
, 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
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
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
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.