如需了解更多有關 jQuery UI 工具提示框(Tooltip)的細節(jié),請查看 API 文檔 jQuery UI 工具提示框部件(Tooltip Widget)。
實例演示
jQuery Tooltip 插件演示。
jQuery UI Tooltip - Default functionality
Tooltips can be attached to any element. When you hover
the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.
But as it's not a native tooltip, it can be styled. Any themes built withThemeRollerwill also style tooltips accordingly.
Tooltips are also useful for form elements, to show some additional information in the context of each field.