Jump to content

about sound <onmouseover>


Bone
 Share

Recommended Posts

onmouseover is not an html tag.use it like this:<div onmouseover="action here">content</div>make sence?ok,first, you need to make a function. put this in your script tags:function makesnd(){document.writeln("<object data='myaudio.mid' type='audio/midi' width='0' height='0' autostart='true'></object>")}then in your div:<div onmouseover="makesnd()">content</div>OK?LG

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
 Share

×
×
  • Create New...