<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
#divReBa{
width:400px;
height:auto;
background-color:aliceblue;
position:absolute;
display:none;
}
</style>
<script type="text/javascript">
window.onload = function () {
JS通过超链接控制层标签显示与隐藏(含延时效果)
![](https://img-home.csdnimg.cn/images/20240711042549.png)