Home > Features > JQuery: Tackling Tooltips • Bookmark   • Newsletters   • Register Search Options


JQuery: Tackling Tooltips

JQuery: Tackling Tooltips

October 29, 2011
Text size: 
View in Digital Mag
Get XBIZ News
XBIZ Research
Will virtual reality boost the paysite market?
Yes, it will soon
Yes, but in a few years
Out of 179 votes. Results based on votes submitted by members of XBIZ.net social network.

" Tooltip allows its users to configure the design, timing and positioning of their tooltips. "

The concept of online tooltips is not new; and is evidenced in previous technologies such as the image “alt” tags used within HTML, which display a textual alternative to visual media. Prior generation DHTML solutions were also deployed as a means of not only describing what a page element is, or how to interact with it, but to provide extended content for visitor edification and search engine optimization.

Today, the power of jQuery leverages the proven value of dynamic tooltips to deliver eyecatching benefits; such as the implementation offered by jQuery Tools, which boasts of its “tooltips done right,” Tooltip.

According to its publisher, Tooltip allows its users to configure the design, timing and positioning of their tooltips.

In its simplest initialization, Tooltip can be called thusly:


In this example, one or more elements are specified via jQuery to trigger a tooltip; using the trigger element’s title attribute to provide its tooltip’s content. The actual tooltip element is auto-generated in this case.

Manual tooltips are also available, using HTML elements such as DIVs, which are located adjacent to the trigger element. This allows for any HTML (including images and links) to be used as content, initializing the trigger without the use of the title attribute.

There are many configuration options available and CSS can be added into the code as well, i.e.:

$(".trigger").tooltip({ position: "bottom left", opacity: 0.7});

Sample code files and demos, royalty-free tooltip graphics and other resources are available from the script’s support website.


Understanding 'Camming Sociology' Can Enhance Interactions

After working for six years in the live cam industry as a cam model and almost double the amount of time studying — while working simultaneously — how relationships work in cyberspace, I am... More »

Proper Fisting Techniques for Gentle Stimulation

Does the phrase “anal fisting” make your sphincter clench in terror? Does it seem like an urban legend or an extreme party trick? Most people scoff at the idea of trying it because it sounds... More »

Camming Games, Contests Keep Customers Engaged

Last issue, I talked about the importance of changing up the ambience in a cam model room via new décor and small visual tweaks, to keep viewers engaged long-term. This time, I’d like to discuss... More »
Stay informed of the latest industry developments. Get XBIZ newsletters delivered to your inbox. Subscribe today!
Enter email address:

* To manage existing subscriptions click here.

Submit your press release to
multiple news outlets with 1 click.
Subscribe to RSS news feeds or
add free content to your website.
Access XBIZ news and articles
with your mobile device.
Access the latest issues of the industry's leading trade publications in digital form. View online or download for offline viewing.


XBIZ Retreat

May 30 - Jun 03
Miami, Florida

XBIZ Miami 2017

May 30 - Jun 02
Miami, Florida

XShow 18+ 2017

Jun 01 - Jun 03
Moscow, Russia

Cam Summit

Jun 02 - Jun 04
Lloret de Mar, Spain
Everyday thousands of business professionals browse XBIZ's industry directory for quality products and services. Not listed yet? Your company could be losing potential new business. Submit your company today!
Use XBIZ RSS feeds to stay informed of the latest industry developments or as a content syndication tool for your website!