Home arrow JavaScript arrow Building Image-Based Tooltips with the jQuery Tooltip Plug-in
JAVASCRIPT

Building Image-Based Tooltips with the jQuery Tooltip Plug-in


In this sixth part of a seven-part series on using the jQuery Tooltip plug-in, I demonstrate how the bodyHandler argument can be used to display image-based tooltips. I also show how to customize their behavior by adding and removing options within the “tooltip()” method.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
November 03, 2009
TABLE OF CONTENTS:
  1. · Building Image-Based Tooltips with the jQuery Tooltip Plug-in
  2. · Reintroducing the bodyHandler argument
  3. · Using the bodyHandler parameter to create image-based tooltips
  4. · Building an image tooltip with mouse tracking disabled

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Building Image-Based Tooltips with the jQuery Tooltip Plug-in
(Page 1 of 4 )

Introduction

If you’ve ever wondered what makes the jQuery JavaScript library so appealing to many web designers, the answer is surprisingly simple: it comes with powerful features that allow programmers to develop client-side applications with minor effort, and offers an extremely friendly learning curve. What else can you ask for?

Well, if all of these characteristics aren’t good enough for you, there’s another one you're sure to appreciate: jQuery has a growing number of handy plug-ins that permit you to perform all sorts of clever tasks in the client without being a JavaScript expert. Indeed, from building Ajax-based image galleries and validating online forms, to attaching eye-popping tooltips to web page links, there’s a plug-in available out there that will surely fit your personal requirements.

As you already know, in this series of articles, I decided to explore specifically the Tooltip plug-in, due to its easy configuration and usage, so it’s time to refresh the themes covered in the previous article. Essentially, in that particular tutorial I explained how to use the “bodyHandler” argument of this plug-in to include some basic HTML in tooltips, thus altering their default appearance and behavior.

In reality, all of the code samples developed so far were quite simplistic and demonstrated only the basic functionality of the “bodyHandler” parameter. But this is about to change. In the next few lines I’m going to show you how to use it for creating the full-sized version of a thumbnail image, a feature that’s implemented on many modern web sites.

Now that you’re aware of the material that you’ll find in this sixth article of the series, let’s learn how to use the “bodyHandler” argument for displaying image-based tooltips. Let’s get started!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks
- Dynamic jQuery Styling

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 1 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials