pjs/webshell/tests/viewer/samples/beeptest.html

18 строки
373 B
HTML

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