jQuery Tooltip插件
来源:互联网 发布:游族网络大皇帝礼包 编辑:程序博客网 时间:2024/05/22 00:41
jQuery Tooltip 插件取代了原生的工具提示框,让它们可自定义,您只需要调整它们的内容、位置和外观即可。
该插件目前版本是 1.3,已经很长时间没有更新,推荐使用 jQuery UI 工具提示框(Tooltip)。
如需了解更多有关 jQuery UI 工具提示框(Tooltip)的细节,请查看 API 文档 jQuery UI 工具提示框部件(Tooltip Widget)。
<!doctype html><html><head> <meta charset="utf-8"> <title>jQuery UI Tooltip - Default functionality</title> <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css"> <script> $(function() { $( document ).tooltip(); }); </script> <style> label { display: inline-block; width: 5em; } </style></head><body> <p><a href="#" title="That's what this widget is">Tooltips</a> can be attached to any element. When you hoverthe element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.</p><p>But as it's not a native tooltip, it can be styled. Any themes built with<a href="http://jqueryui.com/themeroller/" title="ThemeRoller: jQuery UI's theme builder application">ThemeRoller</a>will also style tooltips accordingly.</p><p>Tooltips are also useful for form elements, to show some additional information in the context of each field.</p><p><label for="age">Your age:</label><input id="age" title="We ask for your age only for statistical purposes."></p><p>Hover the field to see the tooltip.</p> </body></html>
阅读全文
0 0
- jquery插件之tooltip
- 【学习】jquery 插件-Tooltip
- jQuery Tooltip插件
- 第一次写jquery插件(tooltip)
- 一个Jquery的提示(tooltip)插件Jtip
- jquery插件tooltip应用实例[实例]
- qTip--基于JQuery的Tooltip插件
- 基于bootstrup 3的jQuery tooltip插件
- 简单实用的jQuery Tooltip提示插件
- 【jQuery】工具提示插件——tooltip
- GBin1插件分享:10个超棒tooltip的jQuery插件
- 流行的jQuery信息提示插件(jQuery Tooltip Plugin)
- jQuery Tooltip
- jQuery Tooltip
- 推荐 25 个优雅的 jQuery Tooltip 插件
- 20 个实用免费的 jQuery Tooltip 插件
- 【JQuery UI】工具提示插件——tooltip
- 【实用插件】精心挑选6款优秀的 jQuery Tooltip 插件
- Java8 日期和时间实用技巧
- 小工具
- lintcode-Reverse Pairs
- windows常用快捷键
- java 不可变对象
- jQuery Tooltip插件
- ArrayBlockingQueue和LinkedBlockingQueue源码分析(jdk1.8)
- CSS伪元素的作用
- Java| Java的类加载顺序
- 新闻推荐系统:基于内容的推荐算法(Recommender System:Content-based Recommendation)
- 机器学习算法-随机森林
- Kotlin之基本语法
- C++primer[习题][第二章][11-20]
- Drupal7 API Hooks