PDA

View Full Version : mouse over sound:


MCD4x4
11-30-2003, 05:59 PM
I'm still fooling with this. I got the script here:http://www.javascriptkit.com/script/script2/soundlink.shtml I used it here:http://www.mcd4x4.com/sound-test.htm I'm close but I want the sound to come in when mouse overing the picture. Please have a look, I'm doing something wrong. :rolleyes:Thanks.

justame
11-30-2003, 06:13 PM
mcd...
just a try® putting thisss where you presently have your 'picture' coding...

<a href="#" onMouseOver="playSound(0)" onMouseOut="stopSound(0)"><img border="0" src="floyd-bennett/jt/pictures/jtrwp1.jpg" width="480" height="315" border="0"></a>

just a goodluck®...

MCD4x4
11-30-2003, 06:16 PM
That worked, justame. Thanks.

justame
12-01-2003, 12:10 AM
mcd...
youre more than just a welcome® n' :O)))'in @ the just a lucky® guess...hehehe

Code Wizard
12-01-2003, 03:43 PM
Hey there MCD4X4 you know your site was the first JS site I ever read :o
I have a question...what else can I embed with the <embed> object...I see I can add media files(audio or/and videos),anything else?
And when playing an audio can I stop it if some event occurs?

Thx.

MCD4x4
12-04-2003, 12:05 AM
Hi Code Wizard,
What do you mean by stop it? Do you mean on & off like this page: http://mcd4x4.com/wtc/wtc.htm