JavaScript
  Home arrow JavaScript arrow Building Image-Based Tooltips with the jQu...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Building Image-Based Tooltips with the jQuery Tooltip Plug-in
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-11-03

    Table of Contents:
  • Building Image-Based Tooltips with the jQuery Tooltip Plug-in
  • Reintroducing the bodyHandler argument
  • Using the bodyHandler parameter to create image-based tooltips
  • Building an image tooltip with mouse tracking disabled

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


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


    (Page 1 of 4 )

    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.

    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!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This chapter of the series shows how to use the "bodyHandler" parameter of the...
     

    JAVASCRIPT ARTICLES

    - Comparing Fields and Customizing Error Messa...
    - Checking Numbers and File Extensions with jQ...
    - Validating Digits and Dates with jQuery`s Va...
    - Validating Ranges, Emails, and URLs with jQu...
    - More Uses for the jQuery Tooltip Plug-in`s b...
    - Building Image-Based Tooltips with the jQuer...
    - Using the jQuery Tooltip Plug-in`s bodyHandl...
    - Using Rangelength, Min and Max with the Vali...
    - Using Minlength and Maxlength with the Valid...
    - Modifying Tooltip Coordinates with the jQuer...
    - Applying a Fade Out Effect with the jQuery T...
    - Tracking Mouse Movements with the jQuery Too...
    - Checking Online Forms with the Validator jQu...
    - Nested JavaScript Functions as Objects
    - The jQuery Tooltip Plug-in







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek