<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>伸缩广告代码</title>
<style type="text/css">
body {
margin:0;
text-align:center;
}
#ad {
width:898px;
height:0px;/*这里设置高度为0是为了默认先执行展开操作,而不是直接全部显示出来*/
margin:0 auto;
overflow:hidden;
}
#btn{color:#08f}
#btn:hover{color:#F80}
</style>
</head>
<body>
<h5 id="btn" οnclick="toogle()" style="cursor:pointer" >收缩&