<script language="javascript" type="text/javascript"> function playSound(soundfile) { document.getElementById("dummy").innerHTML= "<embed src=\""+soundfile+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />"; } </script> <span id="dummy"></span> <img src="images/stuff.png" width="200" height="200" onClick="playSound('sound/BikeHorn.mp3')"; /> |
HOME WORK
Project C (net.art)
(due at the beginning of class, Friday)