Bone Posted April 4, 2006 Share Posted April 4, 2006 guys there is a command that on mouse over its will play sample? (a sound)like:<onmouseover playsample 1.wav>pls help me Link to comment Share on other sites More sharing options...
Little Goat Posted April 4, 2006 Share Posted April 4, 2006 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 More sharing options...
Bone Posted April 4, 2006 Author Share Posted April 4, 2006 ye i know its not a html tag :> i just gave an example..10x man :> Link to comment Share on other sites More sharing options...
pulpfiction Posted April 4, 2006 Share Posted April 4, 2006 I guess this should help...http://www.hypergurl.com/mouseoversound.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now