You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
878 B
HTML
36 lines
878 B
HTML
4 years ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Home</title>
|
||
|
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
|
||
|
<script type="text/javascript" src="./setPage.js"></script>
|
||
|
<style type="text/css">
|
||
|
body {font-family: mono;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
iframe{width: 490px;
|
||
|
height: 340px;}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<audio autoplay="true" loop="true">
|
||
|
<source src="../media/sounds/Long/Homeostat/Hom_3.wav" type="audio/wav">
|
||
|
</audio>
|
||
|
<a href=""><img id="img1" style="width: 640px;" src="" ></a>
|
||
|
<iframe id="vid" src=""></iframe>
|
||
|
<script type="text/javascript">
|
||
|
setPageM();
|
||
|
setvideo();
|
||
|
|
||
|
var room = ["kitchen.html", "bathroom.html","short_corridor.html"];
|
||
|
|
||
|
function randomInt2(){ return Math.ceil(Math.random() * 3); }
|
||
|
|
||
|
$('a').each(function(){
|
||
|
$(this).attr("href", room[randomInt2()] );
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|