作为LOST铁杆粉的我,特意模仿了迷失里面Desmood操作的程序
lost吧
全部回复
仅看楼主
level 3
何苦来😄 楼主
作为LOST铁杆粉的我,特意模仿了迷失里面Desmood输入的4815162342的程序,致敬经典!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>达摩组织</title>
</head>
<body>
<audio loop="loop" id="video1">
<source src="warming.mp3" />
</audio>
<div style="background:black;height:640px">
<p id='dd' style="display:none;color:red;font-size:50px;position:relative;left:580px;top:50px">100</p>
<div style="position:relative;left:500px;top:200px">
<input type='text' id='vv'></button>
<button onclick="myFunction()">Enter</button>
</div>
</div>
<script>
var myvar = 1;
function myFunction(){
clearInterval(myvar);
var s = document.getElementById("dd");
var d = document.getElementById("vv").value;
if(d == 4815162342){
document.getElementById("dd").style.display = 'inline';
document.getElementById("vv").value = '';
s.innerHTML = 108;
myvar = setInterval("run()", 1000);
}else{
alert('Input Error');
return;
}
}
function run(){
var s = document.getElementById("dd");
if(s.innerHTML == 0){
}else if(s.innerHTML <= 10){
document.getElementById("video1").play();
}else{
document.getElementById("video1").pause();
}
s.innerHTML = s.innerHTML - 1;
}
</script>
</body>
</html>
2019年06月05日 02点06分 1
level 9
哈哈哈哈哈哈 😂可以的
2019年06月06日 03点06分 2
1