JavaScript
  Home arrow JavaScript arrow Modifying Tooltip Coordinates 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

Modifying Tooltip Coordinates 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-10-28

    Table of Contents:
  • Modifying Tooltip Coordinates with the jQuery Tooltip Plug-in
  • Review: the fade argument
  • Customizing the positions of tooltips
  • A final example with the top and left parameters

  • 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


    Modifying Tooltip Coordinates with the jQuery Tooltip Plug-in


    (Page 1 of 4 )

    If you’re a web designer who wants to learn how to take advantage of the features packaged with the jQuery Tooltip plug-in to enhance the behavior of your web pages links, then this series of comprehensive articles might be what you’re looking for. In this part, you'll learn how to use the handy “top” and “left” parameters that come with the plug-in to modify the default coordinates at which tooltips are displayed next to the targeted links.

    Introduction

    Welcome to the fourth part of a series on the jQuery Tooltip plug-in. Made up of seven tutorials, this series teaches you how to start incorporating this handy plug-in into your own web site. It also shows you how to tweak its most important parameters, which will let you customize its visual appearance and its default behavior.

    And now that you were introduced to the main subject of this series, it's time to quickly review the topics that were treated in the preceding chapter. In that particular tutorial I discussed the usage of the "fade" input argument for creating a smooth fade out effect on tooltips that were previously tied to a group of hyperlinks.

    Indeed, assigning different values to the "fade" parameter allows you to easily produce variations of classic fade out transitions on tooltips. This ability demonstrates the flexibility offered by the Tooltip library.

    Having refreshed your memory of the approach utilized for applying some appealing fade out effects to web page tooltips, it's time to explore other useful capabilities provided by this plug-in. Therefore, in the next few lines I'm going to explain how to assign different top and left coordinates to the tooltips. This capability is useful for more precisely controlling their respective positions within a web document.

    Now that you know what you expect from this tutorial, let's learn how to play a bit with the with left and top coordinates of tooltips. Let's get started!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This chapter of the series explains how to assign different top and left coordinates...
     

    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 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek