How to make a string into a font, let us control
1 Getting string contents
2 Empty string Contents
3 to traverse the string, and then cut it out.
4 Add positioning to the cut text
5 Add the good positioning of the text, the value of the retrieved elements.
Two. After the mouse slide up, how to achieve the text of the Beat
1 Define a variable 0
2 Definition Timer
3 Let the variable decrease continuously
4 changing the top = = Variable of an element
5 When the variable reaches a certain height, let the variable continuously increase
6 when the variable is reduced to 0 (its position),
7 Clear Animation change element top = 0 (itself position)
The above is a small series to introduce the Javascrip to achieve the text beat effect, I hope to help you, if you have any questions welcome to my message, small series will promptly reply to everyone, here also thank you for your support cloud Habitat community site!