View Full Version : Play wav file on mouseover
I've found code for mouse over triggering a picture file, but I don't know how to make it do what I want! I have a .gif file in a table cell, and everytime a mouse passes over, I want my .wav file to play. Please help! Thanks.
beetle
11-02-2002, 04:45 PM
Well, I can think of 3 choices you have (may be more, I dunno). I'll list them in order of simplicity (as far as I'm concerned)
1) Use flash. You don't even need Macromedia Flash to create simple swf files like this.
2) Find a java applet that handles sound. I've seen 'em, they're out there.
3) Use the dynsrc attribute (IE only) of a hidden image, and change it to the desired WAV file.
Let me know which of these you are interested in tackling, and I can provide further info on the one you pick.
COBOLdinosaur
11-02-2002, 05:09 PM
see if this helps. You will probably have to make the image a link.
http://jsarchive.8m.com/newAudio.html
Beetle: I'm interested in the first method -- using flash.
And COBOLdinosour, my image already is a link. Can I nest links or add the mouseover to the existing link?
Thanks to both of you.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.