<input type=button onclick="Open1()" value="打开">
<div id="id1" style="display:'none';position:'absolute';width:'450px';height:'310px';left:70px;overflow:'auto';background-color:'#EBE9ED';border:1px solid black;">
<input type=button onclick="Close1()" value="关闭">
</div>
<script language=javascript>
function Open1() {
document.getElementById("id1").style.display="";
}
function Close1() {
document.getElementById("id1").style.display="none";
}
</script>
楼主可做一下参考