Simulate scrolling text in javascript

前端 未结 5 1425
清酒与你
清酒与你 2021-01-16 20:52

I\'m trying to come up with something to simulate an old school modem connection. I.E. text that paints itself at variable speeds rather than rendering at once.

Her

5条回答
  •  借酒劲吻你
    2021-01-16 21:21

    Yes, just add two letters (or more) in the displayText function. Do this in a for-loop and you can have a easy to adjust variable for it.

提交回复
热议问题