![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>当当网我的订单页</title> <link type="text/css" rel="stylesheet" href="css/dangdang.css"> <script type="text/javascript" src="js/jquery-1.12.4.js"></script> <script type="text/javascript"> $(function(){ $("#menu-ul").hide(); $("a").eq(0).mouseover(function(){ $("#menu-ul").show().css("border","1px solid #ee7304"); }).mouseout(function(){ $("#menu-ul").hide().css("border","none"); }) }) </script> </head> <body> <div id="menu" class="pos"> <a href="#">我的当当</a> <ul id="menu-ul"> <li><a href="#">我的订单</a></li> <li><a href="#">我的收藏</a></li> <li><a href="#">我的礼品卡</a></li> <li><a href="#">我的积分</a></li> <li><a href="#">我的余额</a></li> </ul> </div> </body> </html>
![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
*{ margin:0px; padding:0px; font-size:12px; } a{ color:#999; text-decoration:none; } body{ background:#fff url(../images/bg.jpg) no-repeat; } ul{ list-style:none; } .pos{ position:absolute; } #menu{ left:590px; top:5px; } #menu li{ display:block; height:20px; line-height:20px; background-color:#fff; padding:4px; }