<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>demo</title>
<style>
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
address,cite,dfn,em,var{font-style:normal;}
code,kbd,pre,samp{font-family:courier new,courier,monospace;}
ul,ol{list-style:none;}
a{text-decoration:none;}
a:hover{text-decoration:none;}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
legend{color:#000;}
fieldset,img{border:0;}
button,input,select,textarea{font-size:100%;}
table{border-collapse:collapse;border-spacing:0;}
.clear{clear: both;float: none;height: 0;overflow: hidden;}
#container{width: 600px; margin: 0 auto;}
p{ line-height: 28px; }
.hidden{background: #E6E6E6; text-align: center; height: auto; overflow: hidden;}
.show{ background: #808080;text-align: center; height: 0; overflow: hidden; }
</style>
</head>
<body>
<div id="container">
<div class="hidden" id="hid"><p>广告图</p></div>
<div class="show" id="sho"><p>哈哈哈哈改装成功</p></div>
</div>
<script type="text/javascript">
window.onload=function aa(){
show();
setTimeout("hide()",3000);
}
var h=0;
var hid=document.getElementById("hid");
var sho=document.getElementById("sho");
function show(){
if(h<300){
h+=5;
hid.style.height=h+"px";
}else{
return;
}
setTimeout("show()",30);
}
function hide(){
if(h>0){
h-=5;
hid.style.height=h+"px";
}else{
dd();
return;
}
setTimeout("hide()", 30);
}
var a=0;
function dd(){
if(a<60){
a+=1;
sho.style.height=a+"px";
}else{
return;
}
setTimeout("dd()",30);
}
</script>
</body>
</html>
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-3 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2026 源码网商城 (www.yuanmawang.com) 版权所有