日期:2014-05-17  浏览次数:20425 次

求救!SOS
鼠标放在查看评分上要求弹出浮动窗口640*480!!其窗口里面显示学员具体信息..关键是这个窗口如何弹出...

------解决方案--------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<title>鼠标经过导航菜单时弹出的提示层效果,sky整理收集。</title>
<style>
div{
clear:both;
margin:5px 0 0 0;
font-size:12px;
line-height:22px;
}
a.alt{
position:relative;
background-color:#fff;
float:left;
width:158px;height:20px;
margin:0 auto;
border:1px solid #ccc;
text-align:center;
text-decoration:none;
color:#333333;
}
a.alt:hover{background:#fff; text-decoration:none;z-index:2;}
a.alt span{display:none;}
a.alt:hover span{
position:absolute;
display:block;
top:-1px;left:158px;
width:120px;height:70px;
border:1px solid #ccc;
z-index:1;
background-color:#fff;
}
</style>
<div><a class='alt' href="#"><span>专注于网页特效及广告代码。</span>站长特效网</a></div>
 
------解决方案--------------------
有很多种方法 可以像上面说的用DIV层 用JS或 用JQ中的$.facebox
http://www.open-open.com/ajax/ajax20080315111441.htm
------解决方案--------------------
几个关键点。。
鼠标的时间。onfocus="js方法"...
js方法:弹出一个层或者一个窗体.....这个层或者窗体再获取相关信息..这里最好不要直接给代码,要的是思路