зеркало из https://github.com/mozilla/pjs.git
First Checked In.
This commit is contained in:
Родитель
67dd013973
Коммит
ddb33fc121
|
@ -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>
|
Загрузка…
Ссылка в новой задаче