First Checked In.

git-svn-id: svn://10.0.0.236/trunk@35745 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sdagley%netscape.com
1999-06-16 23:24:25 +00:00
parent c44cbc1fa7
commit 0003b6a218

View File

@@ -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>