Click to See Complete Forum and Search --> : sound on a:hover


minulescu
12-16-2002, 09:01 PM
possible???
would it be something like:

a:hover {sound:url(sound.mp3);}

thanks

Stefan
12-16-2002, 09:44 PM
This is the section in the CSS spec you are looking for :)

http://www.w3.org/TR/REC-CSS2/aural.html

jpmoriarty
12-18-2002, 02:16 PM
surely though you need a screen reader for that? I think he just wants something that makes a noise when you hover over a link

alcodes
12-19-2002, 03:27 PM
Dont thinks its possible in CSS, try Javascript:
<form>
<bgsound src="" id="sound">
<a href="Link.html" OnMouseOver="sound.src='SOUND.mp3'">aaa</a>
Also, Document.all.sound.src Might also work

King Pellinore
12-19-2002, 09:23 PM
How about including a DIVison and changing it's innerHTML through JavaScript to an OBJECT, which would make browser play a sound. Or maybe an inline frame? Would be pretty slow. Like 45 seconds later... "ding". User: wtf?