导航首页 » 技术教程 » jQuery悬停文字提示框插件jquery.tooltipster.js用法示例【附demo源码下载】
jQuery悬停文字提示框插件jquery.tooltipster.js用法示例【附demo源码下载】 84 2024-02-24   

本文实例讲述了jQuery悬停文字提示框插件jquery.tooltipster.js用法。分享给大家供大家参考,具体如下:

运行效果截图如下:

查看图片

index.html页面:

<!DOCTYPE html>
<html lang="en">
<head>
<title>jQuery Tooltips悬停文字提示框效果</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="http://www.gimoo.net/t/1901/css/tooltipster.css" />
<link rel="stylesheet" type="text/css" href="http://www.gimoo.net/t/1901/css/style2.css" />
<script type="text/javascript" src="http://www.gimoo.net/t/1901/js/jquery-2.0.0.min.js"></script>
<script type="text/javascript" src="http://www.gimoo.net/t/1901/js/jquery.tooltipster.js"></script>
<script type="text/javascript">
  $(document).ready(function() {
     $('.tooltip').tooltipster();
  });
</script>
</head>
<body>
<br><br><br><br><br><br><br><br>
<section id="facebook">
<ul>
<a href="http://www.gimoo.net/" target="_blank"><span id="fackbook" class="tooltip" title="gimoo.net">gimoo.net</span></a>
</ul>
</section>
<section id="twitter">
<ul> 
<a href="http://www.gimoo.net/" target="_blank"><span id="twitter-default" class="tooltip" title="JS脚本代码">JS脚本代码</span></a>
</ul>
</section>
<section id="google">
<ul> 
<a href="http://www.gimoo.net/" target="_blank"><span id="google-default" class="tooltip" title="jQuery">jQuery</span></a>
</ul>
</section>
<section id="rss">
<ul> 
<a href="http://www.gimoo.net/" target="_blank"><span id="rss-default" class="tooltip" title="JS脚本代码">JS脚本代码</span></a>
</ul>
</section>
<section id="tech">
<ul> 
<a href="http://www.gimoo.net/"><span id="tech-default" class="tooltip" title="CSS3">CSS3</span></a>
</ul>
</section>
</center>
<section id="dribbble">
<ul> 
<a href="http://www.gimoo.net/" target="_blank"><span id="dribbble-default" class="tooltip" title="HTML5">HTML5</span></a>
</ul>
</section><br>
<br>
<br>
<br>
<br>
</body>
</html>

完整实例代码点击此处本站下载

更多关于jQuery相关内容感兴趣的读者可查看本站专题:《jQuery扩展技巧总结》、《jQuery常用插件及用法总结》、《jQuery拖拽特效与技巧总结》、《jQuery表格(table)操作技巧汇总》、《jquery中Ajax用法总结》、《jQuery常见经典特效汇总》、《jQuery动画与特效用法总结》及《jquery选择器用法总结》

希望本文所述对大家jQuery程序设计有所帮助。


!!!站长长期在线接!!!

网站、小程序:定制开发/二次开发/仿制开发等

各种疑难杂症解决/定制接口/定制采集等

站长微信:lxwl520520

站长QQ:1737366103