This commit is contained in:
Tommy Parnell
2016-03-05 09:09:31 -05:00
parent f5fcb04257
commit d72098a30e
2 changed files with 1 additions and 0 deletions

30
index.html Normal file
View File

@@ -0,0 +1,30 @@
<html>
<head>
<title>Vanderzee Wilder</title>
</head>
<body>
<style>
#img {
-webkit-user-select: none; /* webkit (safari, chrome) browsers */
-moz-user-select: none; /* mozilla browsers */
-khtml-user-select: none; /* webkit (konqueror) browsers */
-ms-user-select: none; /* IE10+ */
}
</style>
<script>
function mapClick(){
//e.preventDefault();
var elem = document.getElementById('horn');
elem.currentTime = 500;
elem.play();
}
</script>
<audio id="horn" src="airhorn.mp3" preload="auto" type="audio/mpeg"}></audio>
<img src="vanderzeewilder.png" id="img" usemap="#Map" />
<map name="Map" id="Map">
<area onclick="mapClick()" shape="rect" coords="1151,445,1291,549" />
</map>
</body>
</html>