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

FEATURE

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
  39.66%
Yes, but in a few years
  36.87%
No
  23.46%
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:

$("[title]").tooltip();

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.


EDUCATIONAL FEATURES

Cam World: Camming and Toys Go Hand in Hand

There is nothing more satisfying than pleasure, especially if it is sexual. The size or the presentation of the stimulus does not matter if the sensations and tension the body receives transform the way... More »

Cam World: Injecting Personality Into Your Room

Since the last issue of Cam World, I’ve made some significant life changes. I’m working from Colombia now. This was a decision that was not entered into lightly, but change gives you a chance... More »

Fraudulent Brazilian Trademark Registrations Running Rampant

Although you might not think often about protecting your trademark rights in Brazil, you need to — even if you don’t yet have a single Brazilian customer. Scammers are constantly looking for... More »
XBIZ NEWSLETTERS
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.






POPULAR PRODUCTS & SERVICES
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.

UPCOMING EVENTS

EXXXOTICA Denver

Mar 31 - Apr 02
Denver, CO.

Eurowebtainment 2017

May 17 - May 20
Majorca, Spain

XBIZ Retreat

May 30 - Jun 03
Miami, Florida

XBIZ Miami 2017

May 30 - Jun 02
Miami, Florida
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!