Jump to content

Sound when mouse is over image


Fire Dragon

Recommended Posts

Well,I found one site,where is code how to set sound,when mouse is over image.I tried this before in school,when we build webpages,but it won't work and now I use Fire Fox,and it won't work with it.Well,is there samekind code,what works with Fire Fox?I know that I can make this with JS someway,but I want know,is there different ways to that with HTML.Here is code,what I found before:

<IMG SRC="picture.gif" onMouseOver="document.all.music.src='music.au'">   <bgsound src="#" id=music loop=2 autostart="true">

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...