Forum Moderators: open

Message Too Old, No Replies

Adding rollover (mousever) sound effects

read me!

         

DXL

9:06 am on Dec 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have the navigation system on a site already created through imageready with rollver effects. However, I would like to add a feature where a beep can sound when you however over a button and or another sound when you click it to the link.

I know that you can create a hover button that does that, but even then I cant seem to get the hover buttons to sound. I simply need to find out if in Frontpage 2002 there is a really quick way to just insert a sound into an image so that it beeps when you hover over it, or the html to do so. Thanks!

BlobFisk

9:58 am on Dec 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi DXL,

This is just some code I used before on an intranet - but beware, it is in no way standards compliant and won't work in Netscape.

<bgsound id="sound">
<script type="text/javascript">
function PlaySound(url) {
document.all.sound.src = url;
}
</script>

onMouseOver="PlaySound('mySound.wav')"

edit_g

11:09 am on Dec 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check out the thread ajacent to this one before you decide to add any sounds: [webmasterworld.com...]

BlobFisk

11:17 am on Dec 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



edit_g is right - I find sound on websites very irritating, even in a lot of Flash stuff. I used it on an intranet on an onClick event, under duress by the client.

If it's for an internet site, I'd have a good think about it before using it, it can put a lot of users off.

DXL

7:18 pm on Dec 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for the info. I wasn't doing the site in flash but was going for a very similar effect. I guess it may be a little much now that I think about it.

thanks