Code Library
Home Submit Free Hosting Link To Us Contacts

JavaScript Controlling an Applet with JavaScript

JavaScript Controlling an Applet with JavaScript JavaScript JavaScript Controlling an Applet with JavaScript Download (.zip)



<!-- Here's the applet. -->
<APPLET NAME="animation" CODE="Animation.class" WIDTH=500 HEIGHT=200>
</APPLET>

<!-- And here are the buttons that start and stop it. -->
<FORM>
<INPUT TYPE=button VALUE="Start" onclick="document.animation.start()">
<INPUT TYPE=button VALUE="Stop" onclick="document.animation.stop()">
</FORM>







Tatet