gecko/plugin/oji/MRJ/testing/Embedding/Test.html

42 lines
635 B
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>MRJ In A Box</TITLE>
</HEAD>
<BODY>
<H2>What is MRJ In A Box?</H2>
Makes a Java applet run with an embed tag.<P>
<HR>
<SCRIPT LANGUAGE="JavaScript">
function codebase()
{
var url = window.location;
var href = url.href;
return href.substring(0, href.lastIndexOf("/") + 1);
}
/* <!-- CODEBASE = "&{codebase();};" --> */
</SCRIPT>
<EMBED
TYPE = "application/x-java-vm"
NAME = "TrivialApplet"
BORDER = "5"
WIDTH = "200"
HEIGHT = "200"
ARCHIVE = "AppletClasses.jar"
CODE = "TrivialApplet.class"
URL = "http://home.netscape.com">
</BODY>
</HTML>