sound on a:hover

liunx

Guest
possible???
would it be something like:

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

thanksThis is the section in the CSS spec you are looking for :)

<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/aural.htmlsurely">http://www.w3.org/TR/REC-CSS2/aural.htmlsurely</a><!-- m --> though you need a screen reader for that? I think he just wants something that makes a noise when you hover over a linkDont thinks its possible in CSS, try Javascript:
<form>
<bgsound src=http://www.webdeveloper.com/forum/archive/index.php/"" id="sound">
<a href=http://www.webdeveloper.com/forum/archive/index.php/"Link.html" OnMouseOver="sound.src='SOUND.mp3'">aaa</a>
Also, Document.all.sound.src Might also workHow 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?
 
Back
Top