animateButton.java



Usage: Place animateButton.class and Animate.class (and these audio files and image files) within your HTML directory.

Java Source: animateButton.java

HTML Source:

<APPLET CODE = "animateButton.class" WIDTH=50 HEIGHT=50>
<PARAM NAME = "nframe" VALUE="5">
<PARAM NAME = "image0" VALUE="images/saur1.gif">
<PARAM NAME = "image1" VALUE="images/saur2.gif">
<PARAM NAME = "image2" VALUE="images/saur3.gif">
<PARAM NAME = "image3" VALUE="images/saur4.gif">
<PARAM NAME = "image4" VALUE="images/saur5.gif">
<PARAM NAME = "audio" VALUE="audio/ooohyes.au">
<PARAM NAME = "url" VALUE="http://weber.u.washington.edu/~jgurney/java/">
<PARAM NAME = "target" VALUE="_top">
<PARAM NAME = "sleeptime" VALUE="100">
</APPLET>

<APPLET CODE = "animateButton.class" WIDTH=50 HEIGHT=50>
<PARAM NAME = "nframe" VALUE="5">
<PARAM NAME = "image0" VALUE="images/morris01.gif">
<PARAM NAME = "image1" VALUE="images/morris02.gif">
<PARAM NAME = "image2" VALUE="images/morris03.gif">
<PARAM NAME = "image3" VALUE="images/morris04.gif">
<PARAM NAME = "image4" VALUE="images/morris05.gif">
<PARAM NAME = "audio" VALUE="audio/youw.au">
<PARAM NAME = "url" VALUE="http://weber.u.washington.edu/~jgurney/java/">
<PARAM NAME = "target" VALUE="_top">
<PARAM NAME = "sleeptime" VALUE="100">
</APPLET>

Author: Marcus Kay