sound_test.html

来自「scriptaculous是ajax的一个框架」· HTML 代码 · 共 22 行

HTML
22
字号
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>  <title>script.aculo.us Sound functional test file</title>  <meta http-equiv="content-type" content="text/html; charset=utf-8" />  <script src="../../lib/prototype.js" type="text/javascript"></script>  <script src="../../src/scriptaculous.js" type="text/javascript"></script></head><body><h1>script.aculo.us Sound test file</h1><a href="#" onclick="Sound.play('sword.mp3'); return false">play sound (parallel)</a><a href="#" onclick="Sound.play('sword.mp3',{replace:true}); return false">play sound (overwrite)</a><a href="#" onclick="Sound.disable(); return false">Mute</a><a href="#" onclick="Sound.enable(); return false">Enable sounds</a></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?