<head> <script language="JavaScript"> |
function doNothing() {} // A dummy function |
function playSound ( soundName ) |
{ plugin = document.plugins[soundName]; |
window.status = soundName |
if ( plugin != null ) |
{ plugin.StopAll(); |
plugin.play(false); |
setTimeout('plugin.stop()', 2000); } } |
</script> |
<title> Sound Sampler </title></head> <body> |
<h2> Point to an instrument to hear how it sounds</h2> |
<embed src="keyboard.aiff" name="keyboard" |
hidden=true volume= 100% autostart=false> .... |
<a href="doNothing()" |
onMouseOver="playSound('keyboard'); return true;"> |
<img src="keyboard.gif" border=0> </a> .... |
</body></html> |