User Action Required to Activate Applet
I have created a combined bookmark-annotation applet using the following code:
<OBJECT
codeBase=http://java.sun.com/products/plugin/autodl/jinstall-1_5_0-windows-i586.cab#Version=1,5,0,0
height=20 width=80 classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93>
When the page loads, the following message window appears:
"Press SPACEBAR or ENTER to activate and use this control."
When I click on the area around the annotation and bookmark icons, the message disappears. Each page takes a performance hit as this text appears. I am using Internet Explorer 6
How can I make this message go away?
Thank you for the information. Apparently, 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. The solution is probably to load the applet from an external script file, which responds to user interaction immediately and is not affected by this change. Is there an example of some JavaScript that would load an applet from an external script file? For example, if I had the following code, how would I construct the embedApplet.js file?
// 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>');
//-->
Thanks in advance