开发者

how to add a sound to link

开发者 https://www.devze.com 2023-01-03 10:01 出处:网络
HI all, I want to add a sound to my link please tell me is there any jquery or javascript to add sound

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

精彩评论

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