root/public/javascripts/scriptaculous/test/functional/sound_test.html @ 1

Revision 1, 0.9 kB (checked in by falcon, 17 years ago)

Version one -> initial work from the laptop.

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4<head>
5  <title>script.aculo.us Sound functional test file</title>
6  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7  <script src="../../lib/prototype.js" type="text/javascript"></script>
8  <script src="../../src/scriptaculous.js" type="text/javascript"></script>
9</head>
10<body>
11<h1>script.aculo.us Sound test file</h1>
12
13<a href="#" onclick="Sound.play('sword.mp3'); return false">play sound (parallel)</a>
14
15<a href="#" onclick="Sound.play('sword.mp3',{replace:true}); return false">play sound (overwrite)</a>
16
17<a href="#" onclick="Sound.disable(); return false">Mute</a>
18<a href="#" onclick="Sound.enable(); return false">Enable sounds</a>
19
20</body>
21</html>
Note: See TracBrowser for help on using the browser.