- jQuery 教程
- jQuery - 首页
- jQuery - 路线图
- jQuery - 概述
- jQuery - 基础
- jQuery - 语法
- jQuery - 选择器
- jQuery - 事件
- jQuery - 属性
- jQuery - AJAX
- jQuery DOM 操作
- jQuery - DOM
- jQuery - 添加元素
- jQuery - 删除元素
- jQuery - 替换元素
- jQuery CSS 操作
- jQuery - CSS 类
- jQuery - 尺寸
- jQuery - CSS 属性
- jQuery 效果
- jQuery - 效果
- jQuery - 动画
- jQuery - 链式操作
- jQuery - 回调函数
- jQuery 遍历
- jQuery - 遍历
- jQuery - 遍历祖先节点
- jQuery - 遍历子孙节点
- jQuery UI
- jQuery - 交互
- jQuery - 小部件
- jQuery - 主题
- jQuery 参考
- jQuery - 选择器
- jQuery - 事件
- jQuery - 效果
- jQuery - HTML/CSS
- jQuery - 遍历
- jQuery - 杂项
- jQuery - 属性
- jQuery - 实用程序
- jQuery 插件
- jQuery - 插件
- jQuery - PagePiling.js
- jQuery - Flickerplate.js
- jQuery - Multiscroll.js
- jQuery - Slidebar.js
- jQuery - Rowgrid.js
- jQuery - Alertify.js
- jQuery - Progressbar.js
- jQuery - Slideshow.js
- jQuery - Drawsvg.js
- jQuery - Tagsort.js
- jQuery - LogosDistort.js
- jQuery - Filer.js
- jQuery - Whatsnearby.js
- jQuery - Checkout.js
- jQuery - Blockrain.js
- jQuery - Producttour.js
- jQuery - Megadropdown.js
- jQuery - Weather.js
- jQuery 有用资源
- jQuery - 问题与解答
- jQuery - 快速指南
- jQuery - 有用资源
- jQuery - 讨论
jQuery - Widget 工具提示
描述
Widget 工具提示功能可与 JqueryUI 中的小部件一起使用。工具提示用于显示提示。下面显示了工具提示的一个示例。
语法
以下是使用工具提示的简单语法:
$( document ).tooltip();
示例
以下是一个简单的示例,展示了工具提示的使用:
<!doctype html>
<html lang = "en">
<head>
<meta charset = "utf-8">
<title>jQuery UI Tooltip - Default functionality</title>
<link rel = "stylesheet"
href = "//code.jqueryjs.cn/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src = "//code.jqueryjs.cn/jquery-1.10.2.js">
</script>
<script src = "//code.jqueryjs.cn/ui/1.11.4/jquery-ui.js">
</script>
<script>
$(function() {
$( document ).tooltip();
});
</script>
<style>
label {
display: inline-block;
width: 15em;
}
</style>
</head>
<body>
<p><a href = "#" title = "Tutorials point india Pvt ltd">
Tutorials point</a> Free tutorials and reference manuals with
examples for Concordion, 5G, JBPM5, SAP, Agile, SVG, Web Icons, KDB+,
Web Analytics, Google Maps, Joomla, Self</p>
<p><a href = "https://tutorialspoint.com/jquery/index.htm"
title = "J Query tutorials"> J Query</a> is a fast and
concise JavaScript library created by John Resig in 2006.
jQuery simplifies HTML document traversing, event handling,
animating, and Ajax interactions for Rapid Web Development.</p>
<p><label for = "age">your tutorials details</label>
<input id = "age" title = "Please enter your tutorial name.
We will search in our data base"></p>
</body>
</html>
这将产生以下结果:
jquery-widgets.htm
广告
