...

View Full Version : Playing sound with mouse over



noartistname
07-23-2009, 09:45 AM
Hello!

Is there any universal way (for all browsers) of using JavaScript to play some sound when you mouse over some link? If yes can somebody link me to this code or at least write me how one would do this?

Thank you!

Philip M
07-23-2009, 10:32 AM
http://www.hyper-gurl.com/mouseoversound.html

Remove the hyphen in the above URL - for some reason this forum asterisks out hyper-gurl as one word.

http://www.javascripter.net/faq/sound/onhover.htm


Quizmaster: What colour is created by mixing red and yellow?
Contestant: Green.
Quizmaster: No, red and yellow.
Contestant: Blue.

noartistname
07-23-2009, 10:46 AM
http://www.hyper-gurl.com/mouseoversound.html

Remove the hyphen in the above URL - for some reason this forum asterisks out hyper-gurl as one word.

http://www.javascripter.net/faq/sound/onhover.htm


Quizmaster: What colour is created by mixing red and yellow?
Contestant: Green.
Quizmaster: No, red and yellow.
Contestant: Blue.

Yes, I've checked those links already. They are working, but for IE only.

Philip M
07-23-2009, 11:24 AM
I think you will have to use Flash.

http://www.codingforums.com/showthread.php?t=33411

noartistname
07-23-2009, 12:38 PM
I think you will have to use Flash.

http://www.codingforums.com/showthread.php?t=33411

No, I've found answer already (works for Firefox, IE and Safari):

http://webdesign.about.com/od/sound/a/play_sound_oncl.htm

Actually it looks like links you described above, but they didn't work and this one works. I think it has something to do with that <span id="dummy"></span> preload or something.

randomuser773
07-23-2009, 01:33 PM
Hello!

Is there any universal way (for all browsers) of using JavaScript to play some sound when you mouse over some link?
Try: http://scripterlative.com?playmedia



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum