O'Reilly logo

Mastering jQuery by Alex Libby

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

Designing an advanced plugin

Right – enough chitchat! Let's get down and dirty with some code! Over the next few pages, we're going to spend some time developing a plugin that displays some simple tooltips on a page.

Okay, before you all groan and say "not another tooltip plugin…!", there is a good reason for choosing this functionality. All will become clear once we've developed the first version of our plugin. Let's make a start - we'll begin with a brief look at creating our plugin:

  1. For this demo, we'll need the entire code folder for this chapter from the code download that accompanies this book. Go ahead and extract it, saving it to our project area.
  2. In the folder, run the tooltipv1.html file, which contains a grid of six images, along with ...

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