一对一专业咨询:
2019-01-24 10:48:02 | 阅读:2348
<script language="javascript" type="text/javascript"> function playSound(soundfile) { document.getElementById("dummy").innerHTML= "<embed src=\"" +soundfile+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />"; } </script>
<span id="dummy"></span>
<a href="#" onclick="playSound('UrlToSoundFile');">Click here to hear a sound</a> <p onmouseover="playSound('UrlToSoundFile');">Mouse over this text to hear a sound</p>
<!doctype html> <html> <head> <meta charset="ISO-8859-1" /> <title>Example of How to Play a Sound on Click or on MouseOver</title><script language="javascript" type="text/javascript"> function playSound(soundfile) { document.getElementById("dummy").innerHTML= "<embed src=\""+soundfile+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />"; } </script> </head> <body><span id="dummy"></span> <p><a href="#" onclick="playSound('zbluejay.wav');">Click here to hear a bird sing</a></p> <p onmouseover="playSound('zbluejay.wav');">Or you can put your mouse over this paragraph to hear the same bird sound.</p> </body> </html>
引航博景,专业品牌数字化服务机构,专注高端定制化产品开发与服务提供。
引航博景的前身是博信网络工作室,2006年创立于上海。2008年起,以上海引航信息技术有限公司为主体开展业务,现在上海、合肥两地设有办公室。
业务涵括系统软件开发、高端网站建设、设计交互制作、年度运维服务等,十五年来服务客户上千家并深受好评。