test: pop sound
This commit is contained in:
parent
ef39a4966d
commit
a4cbb6bfa9
2 changed files with 6 additions and 0 deletions
BIN
iflpanel/tahta/assets/pop.mp3
Normal file
BIN
iflpanel/tahta/assets/pop.mp3
Normal file
Binary file not shown.
|
@ -193,6 +193,7 @@
|
|||
<form>
|
||||
<button id="localtest" type="button" onmouseover="Localtest(0)" onclick="Localtest(0)">TEST</button>
|
||||
<button id="yazdir" type="button" onmouseover="Localtest(1)" onclick="Localtest(1)">Yazdır</button>
|
||||
<button id="popsound" type="button" onmouseover="Popsound()" onclick="Popsound()">POP SOUND</button>
|
||||
</form>
|
||||
<div id="DEV" style="font-size: x-small;"></div>
|
||||
<div id="rainbow"></div>
|
||||
|
@ -214,6 +215,11 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
function Popsound() {
|
||||
var audio = new Audio('./assets/pop.mp3');
|
||||
audio.play();
|
||||
}
|
||||
</script>
|
||||
|
||||
<script src="./assets/js/utils.js"></script>
|
||||
|
|
Loading…
Reference in a new issue