O'Reilly logo

Web Developer’s Cookbook: More Than 300 Ready-Made PHP, JavaScript, and CSS Recipes by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 19
image
Text Effects
This chapter provides you with a wide range of recipes offering text manipulation features. For example, you can enable text scrolling, either to the left or right, and you can choose both its speed and how many times the scroll should repeat. There are also typewriter and “matrix” effects to make text appear and disappear, as well as color fading text, flying text into position, and even fancy ripple effects for drawing attention to important text.
image
TextScroll()
With this recipe, you can scroll selected text either left ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required