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
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.
Yes, you can do it with Flash, like Eric Watson does here:
Hove over the links near the top left.
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.
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.
This topic is now closed. New replies are no longer allowed.