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

    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...
    - The GX JS Animation Framework
    - Debug Ajax-Generated Tags in Firefox
    - Building a Page Controller with the jQuery Q...
    - Paginating Database Records with the jQuery ...
    - Paginating Images with the jQuery Quick Pagi...
    - Hiding the Page Counter with the jQuery Quic...
    - Introducing the Quick Pagination jQuery Plug...







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