.wav & on MouseOver

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
mesz
Forum Contributor
Posts: 216
Joined: Fri May 23, 2003 8:11 am
Location: M/cr

.wav & on MouseOver

Post by mesz »

hello,
I'm, confused.
I'm using the simplest onMouseOver piece of script, and yet I'm getting an error.
I'm trying to generate a sound onMouseOver using a .wav file -
link sound

Code: Select all

<a href="#" onMouseOver="hoversound.play()">test</a> 
<embed name="hoversound" src="amazing.wav" autostart="false" loop="false" 

volume="150" hidden="true" />
yet I get an error message displayed in the status bar - although inconsequential they give a truly unprofessional look to a site.
User avatar
mesz
Forum Contributor
Posts: 216
Joined: Fri May 23, 2003 8:11 am
Location: M/cr

Post by mesz »

I have had a thought - I am trying this on two PCs.
1) with soundcard
&
1) without soundcard.

The PC with a sound card displays no error,
the PC without displays the error.

I think this would explain that....
however....
there is also an embedded sound onLoad, but the page and so this sound starting DOES NOT display an error.
Any suggestions why?[/b]
Post Reply