A recent update to Microsoft Internet Explorer 6 included a change that alters the way users interact with applets in the browser. Microsoft Internet Explorer 6 running on the following platforms are affected by this change:
With this change, users can no longer directly interact with applets by default. Users are first required to manually activate the applet's user interface, before interacting with the applets. If the page has multiple applets, users have to activate each applet's user interface individually.
Interactive applets loaded directly from the web page in Internet Explorer are affected. However, if the applets are loaded from external script files, they can respond to user interaction immediately and are not affected by this change.
When the applet is inactive, it does not respond to users input. However, it performs operations that do not involve interaction. For example, when users open a web page which contains an applet, the applet loads and runs as usual. To activate the applet for interaction, users need to manually click on the applet, or use the Tab key to set focus on the applet and then press the Spacebar or the Enter key.
The following example uses
document.write to load an applet dynamically.
// HTML File <html> <body> <script src="embedApplet.js"></script> </body> </html> // embedApplet.js <!-- document.write('<applet code=XYZApp.class width=300 height=300>'); document.write('<param name=model value=models/HyaluronicAcid.xyz>'); document.writeln('</applet>'); //-->
Developers can also specify applets in the web page using