O'Reilly logo

jQuery for Designers : Beginner's Guide - Second Edition by Natalie MacLees

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

Time for action – setting text on a curve with the ArcText plugin

Perform the following steps to set text on a curve:

  1. We'll get started by creating a basic HTML document and associated files and folders, just like we did in Chapter 1, Designer, Meet jQuery. Inside the HTML document, we'll add a heading, as follows:
    <div class="content">
      <header id="ex1">
        <h1>A Tale of Two Cities</h1>
      </header>
    </div>
  2. Next, we'll download the ArcText plugin. The plugin is available through a tutorial on the Codrops blog by Tympanus. Head over to http://tympanus.net/codrops/2012/01/24/arctext-js-curving-text-with-css3-and-jquery/ and click on the DOWNLOAD SOURCE button to get the ZIP file.

    Unzip the file. Inside the js folder, you'll find the jquery.arctext.js file—copy ...

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