work in ie
This commit is contained in:
@@ -15,14 +15,14 @@
|
||||
function mapClick(){
|
||||
//e.preventDefault();
|
||||
var elem = document.getElementById('horn');
|
||||
elem.currentTime = 500;
|
||||
elem.currentTime = 1.9;
|
||||
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" />
|
||||
<area onclick="mapClick()" shape="rect" href="#" coords="1151,445,1291,549" />
|
||||
|
||||
</map>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user