jQuery实现⿏标悬停显⽰提⽰信息窗⼝的⽅法本⽂实例讲述了jQuery实现⿏标悬停显⽰提⽰信息窗⼝的⽅法。分享给⼤家供⼤家参考。具体实现⽅法如下:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="/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;
jquery弹出div窗口}
</style>
<script src="jquery-1.6.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>www.jb51/</div>
</body>
</html>
希望本⽂所述对⼤家的jQuery程序设计有所帮助。

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。