jQuery鼠标悬停显示提示信息窗体
2017-07-09 12:45
603 查看
<!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>
<title>鼠标悬停显示提示信息窗体</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
.contact{width:100px;height:15px;margin:20px 0 0 50px;background-color:#CCCCCC;text-align:center;}
.us{display:none;width:300px;height:40px;padding:10px;position:relative;top:0px;left:50px;background-color:#0099FF;}
</style>
<script src="/ajaxjs/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".contact").mouseover(function(){
$(".us").show("slow");
$(".contact").mouseout(function(){
$(".us").hide("slow");
});
});
})
</script>
</head>
<body>
<div class="contact">联系我们</div>
<div class="us">提示内容。提示内容。提示内容!</div>
<div><A href="http://www.999jiujiu.com/">http://www.999jiujiu.com/</A></div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>鼠标悬停显示提示信息窗体</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
.contact{width:100px;height:15px;margin:20px 0 0 50px;background-color:#CCCCCC;text-align:center;}
.us{display:none;width:300px;height:40px;padding:10px;position:relative;top:0px;left:50px;background-color:#0099FF;}
</style>
<script src="/ajaxjs/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".contact").mouseover(function(){
$(".us").show("slow");
$(".contact").mouseout(function(){
$(".us").hide("slow");
});
});
})
</script>
</head>
<body>
<div class="contact">联系我们</div>
<div class="us">提示内容。提示内容。提示内容!</div>
<div><A href="http://www.999jiujiu.com/">http://www.999jiujiu.com/</A></div>
</body>
</html>
相关文章推荐
- jquery 鼠标悬停显示信息提示框
- jQuery鼠标悬停显示提示信息窗口
- jQuery实现鼠标悬停显示提示信息窗口的方法
- jquery特效--鼠标悬停显示提示信息
- jQuery鼠标悬停显示提示信息窗口
- jQuery实现鼠标悬停显示提示信息窗口的方法
- jQuery购物图片中的鼠标悬停显示详细信息效果
- Swing鼠标悬停时巧用上下文菜单显示提示信息
- EXTJS 4.2 实现 gridpanel 鼠标悬停单元格以提示信息的方式显示单元格内容。
- Swing鼠标悬停时巧用上下文菜单显示提示信息
- JavaScript + jQuery + HTML 实现<input>提示信息的显示、隐藏,功能与jQuery EasyUI的easyui-textbox的prompt属性相同。
- MFC 学习之 鼠标移动到Toolbar按钮上显示提示信息(tooltip),状态栏也随之改变
- jquery当鼠标移动到button按钮控件时,会出现提示信息
- 在屏幕右下方显示提示信息(winform窗体)(借鉴)
- ToolTip插件,鼠标悬停时显示信息
- Android Studio设置鼠标悬停显示文档提示
- jQuery实现鼠标经过弹出提示信息的地图热点效果
- jquery控制css绝对定位位置效果,例如鼠标移动到图标显示层显示相关信息
- 鼠标悬停显示详细信息效果
- jquery控制css绝对定位位置效果,例如鼠标移动到图标显示层显示相关信息