<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
*{ padding:0; margin:0;}
#one{ float:left; width:250px; height:25px; }
#two{ float:left; width:258px; height:264px; display:none; left:0; top:50px;position:absolute; border-left:none; background:#CCCCCC;}
#one_two{ width:250px; height:25px; background:#CCCCCC;}
#one_three{ width:250px; height:25px; background:#999;}</style>
<script type="text/javascript" src="jquery-1.9.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $("#one_three").hover(function(){
   $("#two").show(function(){
$(this).mouseleave(function(){
$(this).hide();
});
});
  });
});
</script>
</head><body>
<div id="big">
<div id="one" >
<div id="one_three"></div>
<div id="one_two"></div>
</div>
<div id="two">
<ul>
<li><a href="#">sdfsdfs</a></li>
<li><a href="#">sdfsdfs</a></li>
<li><a href="#">sdfsdfs</a></li>
</ul>
<select>
<option><a href="#">WWWWWWWWWW</a></option>
<option><a href="#">WWWWWWWWWW</a></option>
<option><a href="#">WWWWWWWWWW</a></option>
<option><a href="#">WWWWWWWWWW</a></option> 
</select>
</div>
</div>
</body>
</html>selectoption

解决方案 »

  1.   

    [code=javascript]    $(document).ready(function () {
            $("#one_three").hover(function () {
                $("#two").show(function () {
                    $(this).mouseleave(function (e) {
                        var o = e.relatedTarget || e.toElement;//判断下移动到的对象,移动到option上ie下是null,firefox等为undefined。。
                        if (!o) return;//为option退出不隐藏
                        $(this).hide();
                    });
                });
            });
        });[/code]