views:

63

answers:

3

HI all,

I want to add a sound to my link please tell me is there any jquery or javascript to add sound i have used following but its not working..

<div align="center"><a href="our_product.html" class="footermenu" onmouseover="MM_controlSound('play','document.CS1276334226609','drop/downloadb12bb644.mp3')">Our Product I</a></div>

Thanks Mayur

A: 

You could use jplayer for that. You just have to hide the player ui.

Edit: You can find plenty of demos (with code) here: http://www.happyworm.com/jquery/jplayer/latest/demos.htm

Adrian Grigore
Could you send me more detail code
Mayur
+2  A: 

You should go for very popular SoundManager Javascript script and it works out of the box.

Sarfraz
A: 

you can use this to play music premium beat player

EDIT

than you should use this play sound on click if you want to play sound on click link.

kc rajput