【学习】jquery 插件-Tooltip
来源:互联网 发布:网络主播是怎么挣钱的 编辑:程序博客网 时间:2024/05/22 00:45
下载地址我的资源
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> * { font-family: monaco; color: white; } div.item { min-width:100px; min-height:50px; background-color: maroon; text-align:center; line-height:25px; padding:10px;} div#item_1 { position: absolute; top: 50px; left: 50px; } div#item_2 { position: absolute; top: 500px; left: 0px; } div#item_3 { position: absolute; top: 0px; left: 500px; } div#item_4 { position: absolute; top: 500px; left: 500px; } div#item_5 { position: absolute; top: 800px; left: 500px; } </style> <link rel="stylesheet" href="stylesheets/jquery.tooltip/jquery.tooltip.css" type="text/css" /> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <script type="text/javascript" src="javascripts/jquery.tooltip.js"></script> <script type="text/javascript"> $j = jQuery.noConflict(); $j(document).ready(function(){ $j("div.item").tooltip(); }); </script> </head> <body> <div id="item_1" class="item"> <div class="tooltip_description" style="display:none" title="Item 1 Description"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div> </div> <div id="item_2" class="item"> Item 2 <div class="tooltip_description" style="display:none" title="Item 2 Description"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div> </div> <div id="item_3" class="item"> Item 3 <div class="tooltip_description" style="display:none" title="Item 3 Description"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div> </div> <div id="item_4" class="item"> Item 4 <div class="tooltip_description" style="display:none" title="Item 4 Description"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div> </div> <div id="item_5" class="item tooltipleft"> Item 5 <br/> Force Left <div class="tooltip_description" style="display:none" title="Item 4 Description"> Just add a CSS Class 'tooltipleft' to disable the auto-direction and have the tip come in from left with right-arrow. </div> </div> </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插件
- BootStrap学习日记之 tooltip 插件使用
- 流行的jQuery信息提示插件(jQuery Tooltip Plugin)
- jQuery Tooltip
- jQuery Tooltip
- 推荐 25 个优雅的 jQuery Tooltip 插件
- 20 个实用免费的 jQuery Tooltip 插件
- 【JQuery UI】工具提示插件——tooltip
- Qt中验证器的使用
- db2回去自增主键当前值的例子
- (14.4.22更新)ubuntu技巧设定集合,不断补充中。。。
- K-th string
- Website fails to load when project open in VS 2013
- 【学习】jquery 插件-Tooltip
- Razor View中如何创建和调用Function
- 每天进步一点点——/srv/node不存在导致object-updater和container-updater崩溃(Swift Bug)
- 快速排序主体算法
- 开源电话交换平台FreeSwitch的安装与配置
- Linux shell脚本的字符串截取
- iOS绘图教程
- JAVA垃圾回收机制
- 稳压电源(11) 获得不同输出电压的方法