jQuery UI 1.9 Milestone 1 – Tooltip
The first milestone release for jQuery UI 1.9 is out, featuring the new Tooltip widget, in active development.
What’s a Milestone Release?
A milestone release makes it easier to try out the latest development code of jQuery UI without necessarily having to check out code from GitHub.
With a milestone release you can try out new widgets that are pretty far along (though not yet final) and provide feedback based on released code with a specific version number.
Note: the API is subject to change as the code is still under active development.
We’d love your feedback on our new Tooltip widget, to help ready it for the 1.9 final release. The API is already in good shape, so if you start using it now, migrating to 1.9 final should be really easy.
From the Tooltip documentation:
Tooltip replaces native tooltips, making them themable as well as allowing various customizations:
- display other content than just the title, like inline footnotes or extra content retrieved via Ajax
- customize the positioning, eg. to center the tooltip above elements
- add extra classes to customize the appearance, for warning or error fields
A fade animation is used to show and hide the tooltip, making the appearance a bit more organic, compared to just toggling the visibility.
All you need is an element with a title attribute. Grab that element and call
.tooltip() on it:
<a title="Details for this link" href="#">Link</a>
When the mouse hovers over the element, the tooltip will appear, like so:
Play with the latest demos in the tooltip branch on our live code view site, view.jqueryui.com:
You can download the jQuery UI 1.9 Milestone 1 – Tooltip release as a zip file or via git:
- Development Bundle:
How to Provide Feedback
If the comments section on the wiki page doesn’t provide enough room for your feedback, post to the Developing jQuery UI Forum and tag the post:
How to Contribute Code
If you’re new to git or GitHub, see our guide: How to submit a fix to jQuery UI – The Easy Way.
Note: please do NOT use the comments section of this blog post for feedback on the Tooltip widget. This discussion should occur on the wiki page and the forum (see How to Provide Feedback, above).
If you have feedback on us doing our first milestone release, feel free to leave a comment below. Thank you.