1.固定div
<style type="text/css">
#top{
position:fixed;/*在浏览器中的绝对位置*/
tOP:0;
background-color:#fff;
filter:alpha(opacity=100);/*透明度,100是不透明 50是半透明*/
width:1000px;
height:50px;
z-index:999; /*层数越高表示越在最前面*/
}
</style>
2.setTimeout
<script type="text/javascript" defer="defer">
st= setTimeout(function (){
//创建头部的表格
$("#TopPotentialCustomer").text($("#PotentialCustomerID").val());
$("#TopProjectedRevenue").text($("[ligeruiid='ProjectedRevenue']").val());
$("#TopEstimatedEndDate").text($("[ligeruiid='EstimatedEndDate']").val());
$("#name").text($("[ligeruiid='Theme']").val());
},3000);
</script>