This commit is contained in:
sdagley%netscape.com 1999-06-16 23:24:25 +00:00
Родитель 67dd013973
Коммит ddb33fc121
1 изменённых файлов: 18 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,18 @@
<html>
<head>
<title>Sound Service Beep Example</title>
</head>
<body>
<script>
var sample = Components.classes["component://netscape/sound"].createInstance();
sample = sample.QueryInterface(Components.interfaces.nsISound);
dump("sample = " + sample + "\n");
</script>
<form name="form">
<input type="button" value="Beep" onclick="sample.Beep();">
<form>
</body>
</html>