没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
3页
内部使用 代码如下:<head> <title></title> <link href=”base.css” rel=”stylesheet” type=”text/css” /> <link href=”jquery.tooltip.less” rel=”stylesheet/less” type=”text/css”> [removed][removed] <script src=”//ajax.googleapis.com/ajax/libs/jquery/1.10
资源详情
资源评论
资源推荐
jquery插件插件tooltipv顶部淡入淡出效果使用示例顶部淡入淡出效果使用示例
内部使用
代码如下:
<head>
<title></title>
<link href=”base.css” rel=”stylesheet” type=”text/css” />
<link href=”jquery.tooltip.less” rel=”stylesheet/less” type=”text/css”>
<script src=”less-1.4.2.min.js” type=”text/javascript”></script>
<script src=”//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js” type=”text/javascript”></script>
<script src=”jquery.tooltip.js” type=”text/javascript”></script>
</head>
<body>
<div id=”tooltipContainer” style=”display:none;”></div>
<button onclick=”javascript:tg1();”>info</button>
<button onclick=”javascript:tg2();”>alert</button>
<button onclick=”javascript:tg3();”>hide</button>
<script language=”javascript”>
$(“#tooltipContainer”).tooltip(); //初始化
function tg1() {
$(“#tooltipContainer”).tooltip(“info”, “据你的使用和需求的不同…”);
}
function tg2() {
$(“#tooltipContainer”).tooltip(“alert”, “据你的使用和需求的不同…”);
}
function tg3() {
$(“#tooltipContainer”).tooltip(“hide”);
}
</script>
</body>
weixin_38710524
- 粉丝: 7
- 资源: 884
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0