<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>anamtion each effect</title>
</head>
<style type="text/css">
body{
margin:0;
padding:0;
}
.pages{ position:relative;}
.pages .top{
height:230px;
background-color:#CCC;
}
.pages .bottom{
height:400px;
}
#fitler.sticky{
background-color:#FFFFFF;
padding-top:10px;
position:fixed;
top:-10px;
z-index:99;/*class="sticky"*/
width:100%;
left:0;
}
#fitler .searchWrap{
background:#666 none;
color:#003;
height:40px;
}
</style>
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script>
jQuery(function($){
$("#myP p").each(function(){
$(this).closest("p").click(function(){
$(this).animate({
opacity:0.2
},600,
function(){
$(this).remove();
});
});
});
})
</script>
<body>
<div class="pages">
<div class="top">your head</div>
<div class="center">
<div class="content" id="myP">
<p>sisis<p>sisisaa</p><p>sisisaa</p></p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
<p>sisis</p>
</div>
</div>
<div class="bottom">your footer</div>
</div>
</body>
</html>
loading