Hi! Wondering if anyone has done this or knows how? I am looking to have a sound produced when the user passes mouse over a link. (Not an image!) Thing is I DO NOT want to use anything in the ANCHOR tags (<a href>). Thereby hoping this might be achieved via CSS with the AHover tag. Anyone done this or know how? Thanks. -pW
Paul, as far as I know a:hover is only supported by MSIE, and even in that case only for color changes to the link text. Hover was inconsistently supported in MSIE 4.x, and support only truly arrived in Explorer version 5.
Even using Javasript, browser compatibility is a concern. Here [wsabstract.com] is one method that is cross browser compatible.
I don't claim the definitive word on whether a:hover can trigger a sound in MSIE. Anyone know anything more about this?
On Windows the JVM loads immediately with the page, it doesn't wait for a mouseover to start up. That's an important difference on a Mac. Thanks!
Java is pretty common for embedding sound files -- other methods are too browser specific, but now you've pointed to platform issues as well. One of my friends has a nice g4, and he has constant problems playing music from the web, with either browser.