Took out <SCRIPT> tag, <APPLET> tag. Only used with <EMBED> tag.

This commit is contained in:
beard%netscape.com 1999-03-12 21:51:56 +00:00
Родитель 221c8ea624
Коммит 246cc96e0d
1 изменённых файлов: 1 добавлений и 47 удалений

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

@ -1,49 +1,8 @@
<HTML>
<HEAD>
<TITLE>TrivialApplet</TITLE>
<TITLE>Java Console</TITLE>
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
// var System = java.lang.System;
function writeln(text)
{
document.write("<P>", text, "</P>");
}
function println(text)
{
System.out.println(text);
}
function examineApplets()
{
var applets = document.applets;
println("applets.length = " + applets.length);
}
function examineTrivialApplet(applet)
{
applet.print("url = " + applet.urlField.getText());
// println("url = " + applet.urlField.getText());
}
</SCRIPT>
<P>
<!--
<APPLET
ARCHIVE="ConsoleApplet.jar"
NAME="TrivialApplet"
CODE="TrivialApplet.class"
MAYSCRIPT="true"
WIDTH=200 HEIGHT=200>
<PARAM NAME="URL" VALUE="http://home.netscape.com">
</APPLET>
-->
<EMBED
TYPE = "application/x-java-vm"
NAME = "ConsoleApplet"
@ -53,11 +12,6 @@ function examineTrivialApplet(applet)
CODE = "netscape/console/ConsoleApplet.class"
>
</EMBED>
</P>
<HR>
<a href="ConsoleApplet.java">The source.</a>
</BODY>
</HTML>