O'Reilly logo

jQuery UI Cookbook by Adam Boduch

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 11. Using Tooltips

In this chapter, we will cover:

  • Changing the tooltip state
  • Using custom markup in tooltips
  • Displaying mouse movement
  • Applying effects to the tooltip display
  • Tooltips for selected text

Introduction

In this chapter, we'll explore the various dimensions of the tooltip widget, used to provide contextual information to the user. The tooltip widget works well with existing code because by default, it uses standard HTML attributes for the text of the tooltip. Furthermore, it's easy to create tooltip instances for the entire user interface with one line of code.

Going beyond the simple use cases, we'll look at the different types of content we can pass into the widget, and how the content can be generated dynamically. We'll also look ...

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