Book Image

jQuery for Designers Beginner's Guide Second Edition

By : Natalie Maclees
Book Image

jQuery for Designers Beginner's Guide Second Edition

By: Natalie Maclees

Overview of this book

Table of Contents (21 chapters)
jQuery for Designers Beginner's Guide Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Setting text on a curve


Using CSS3 transforms, it would technically be possible to set text on a curve using the Lettering.js plugin. It would, however, require us to do quite a lot of calculations to get the letters arranged just so.

Thankfully, Pedro Botelho, author of the ArcText plugin, has figured out a way to let JavaScript do all the math for us. He started from the Lettering.js plugin, but then added the ability to set text perfectly to a curve of your choosing. The result is the ArcText plugin, which allows us to set any text on a curve of any radius.