The code shown below should be copied and pasted into the HTML document where the applet is required to appear. The URL highlighted below should be changed to the location of your HTML page that contains the applet code.
<iframe src="iframecode.html" width="620" height="420" frameborder="0" scrolling="no" align="middle"></iframe>
Depending on the size of the applet being served the size of the iFrame can be altered, using the standard width and heigh parameters. There are other parameters in use in this example: frameborder is used to, in this case, remove the iFrame border, scrolling is used, in this case, to remove scollbars and align is used to position the applet in the middle of the iFrame.
Now the iFrame has been set up it's time to create the HTML page that will contain the applet code.
In this example the URL being used for the iFrame is iframecode.html. The ONLY code in this HTML page is shown below.
So the applet showing above is being driven by the code you see below.
If you experience errors such as no applet showing (give it a few seconds to load) then we recommend performing a complete uninstall/reisntall of Java. Be sure to update the codebase, shown in blue, to match your MCS installation.
<applet mayscript name="mcs" code="myspeedserver/applet/myspeed.class" archive="/myspeed/myspeed_s_8.jar,/myspeed/plugins_s_8.jar" codebase="http://mcslhr.visualware.com/myspeed" width=600 height=400>
<param name="testspecid" value="-2">
<param name="permissions" value="all-permissions">