File: sound_test.html

package info (click to toggle)
scriptaculous 1.8.3-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 912 kB
  • ctags: 171
  • sloc: makefile: 2
file content (21 lines) | stat: -rw-r--r-- 879 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!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>