Forum Moderators: open
<A HREF="----.mid"> <IMG SRC="----.gif" WIDTH= HEIGHT= BORDER= ></A>
This started the sound. I tried it yesterday, but it turned out to be a link. I know I saw it work correctly otherwise I would not have copied it down.
I'd rather use HTML, but what do I seach for as far as JS is concerned?
<a onClick="window.status=''; return false;" href="path_to_sound.file"><img src="image.file"></a>
<added>
The onClick="window.status=''; return false;" part should make the page remain steady while the MIDI file is played, but it is not really necessary. You should be able to play your file just fine with:
<a href="bergeret.mid"><img src="00/xArc1.jpg"></a>
Image # 1. This is the "on Click = "window . status = " etc.
This doesn't work at all.
Image # 2. This is the a href = midi followed by the img src =. This is a link to the midi file. This changes the page. I want to click on the image and have the music play instantly without the page changing.