»
EnglishFrenchVietnamese

Print - Play sound onmouseover - JavaScriptBank.com

Full version: jsB@nk » Image » Play sound onmouseover
URL: https://www.javascriptbank.com/play-sound-onmouseover.html

Play sound onmouseover © JavaScriptBank.comThis JavaScript code will play a sound file when user drag mouse on specified image.

Full version: jsB@nk » Image » Play sound onmouseover
URL: https://www.javascriptbank.com/play-sound-onmouseover.html



JavaScript
<script><!--function playTunes() {  document.all.base.src = "../multimedia/5onit.mid"}function playTunes1() {  document.all.base.src = "../multimedia/5onit.mid"}function playTunes2() {  document.all.base.src = "../multimedia/5onit.mid"}//--></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<bgsound id="base"></bgsound><img src="logojs.gif" onmouseover="playTunes()" onmouseout="playTunes2()" width="150" height="60"><br><b>Moveover to play examplesound</b><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->