nlsilverberg — 2011-11-08T19:25:01-05:00 — #1
Newbie here(:. I was wondering if there is a way to play a sound when the mouse hovers over the navmenu on a site using html and css? -Thanks
ralphm — 2011-11-08T20:07:00-05:00 — #2
etidd — 2011-11-08T20:30:47-05:00 — #3
I did this with Flash when I was faking like I knew anything about web development. Unless it is the most QUIET and non-annoying sound, I would be very wary of making a website that makes people think they're playing pinball with spontaneous, unpredictable noises.
ralphm — 2011-11-08T20:44:53-05:00 — #4
Yes, you can do it with Flash, like Eric Watson does here:
Hove over the links near the top left.
stevie_d — 2011-11-09T09:03:29-05:00 — #5
It's been a standard and well-accepted practice for years that you do not play sounds from a web page unless a user has specifically actioned a request for that sound (eg by clicking on a 'play' button). Websites that start playing sounds uninvited are likely to be closed down and never revisited, especially if they do so when they cause the visitor particular embarrassment, such as at work or on a train. You don't know where I am when I'm looking at your website, and you don't know what else I might be listening to at the same time, so do not have your website start playing sounds at me, or you've lost me forever.
picnictutorials — 2011-11-10T07:31:53-05:00 — #6
Here is how. As is it only works on one link. It may be possible to alt it so it can work on all the nav links - dont know? http://www.visibilityinherit.com/code/play-sound-on-mouse-over.php Someone in the comments looks like they have a solution maybe. Otherwise yep flash.