The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
See 5 more by this user. Created: 08/15/12
Last CDN Push: 08/22/12
Build Tag: gallery-2012.08.22-20-00
Project: YUI 3
License: YUI BSD
YUI Version: 3.6.0
Free for use.
The Bootstrap Tooltip is a markup and CSS compatible layer, combining the benefits of YUI and the ease of use and styling of Twitter's Bootstrap project.
See it in action at http://jshirley.github.com/bootstrap/javascript.html#tooltips
Given a link like <a href="#" rel="tooltip" title="first tooltip">you probably</a>, the rel="tooltip" will trigger the nicely formatted tooltip to be displayed.
You will need to include the bootstrap.css from Twitter's Bootstrap project.
<script src="http://yui.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.08.22-20-00'
}).use('gallery-bootstrap-tooltip', function(Y) {
new Y.Bootstrap.Tooltip({ selector : '*[rel=tooltip]' }).render();
});
All code on this site is licensed under the BSD License unless stated otherwise.