<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> Untitled Document </title>
<style>
p{Display:list-item;}
. aa{width:100%; height:50px; position:relative; background: #69F;}
. bb{width:800px; margin:auto; height:50px; position:relative;}
. cc{width:60px; height:83px; Background:url (images/w_1.png) center no-repeat; position:absolute; top:50px; cursor: pointer;}
. cc:hover{background-position:0px-29px; z-index:9999;}
. dd{width:200px; height:300px; background: #033;p osition:absolute; z-index:99; margin-left:10px; opacity:0;}
</style>
<script type= "Text/javascript" src= "Js/jquery-1.7.1.min.js" ></script>
<script>
$ (function () {
$ (". CC"). MouseOver (function () {
$ (". DD"). Animate ({top:50,opacity:1},500);
})
$ (". CC"). Mouseout (function () {
$ (". DD"). Animate ({top:0,opacity:0},500);
})
})
</script>
<body>
<div class= "AA" >
<div class= "BB" >
<div class= "CC" ></div>
<div class= "DD" ></div>
</div>
</div>
</body>
jquery Move down and fade in parallel