add response |
<html>
<body onload="startRemoveCoverTimer()">
<div style="width: 200px; height: 200px; position: relative">
<a href="">The Link</a>
<div id="cover" style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.5)"></div>
</div>
<script type="text/javascript">
function startRemoveCoverTimer() {
setTimeout(removeCover, 2000);
}
function removeCover() {
document.getElementById('cover').style.display = 'none';
}
</script>
</body>
</html> |
add response |
<html>
<body onload="startRemoveCoverTimer()">
<div style="width: 200px; height: 200px; position: relative">
<a href="">The Link</a>
<div id="cover" style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.5)"></div>
</div>
<script type="text/javascript">
function startRemoveCoverTimer() {
setTimeout(removeCover, 2000);
}
function removeCover() {
document.getElementById('cover').style.display = 'none';
}
</script>
</body>
</html> |