开发者

how to add a sound to link

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


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


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜