|
uild
Code
Now that you have chosen
your applet and established your presence on the Web at www.mysite.com
let's examine the specific changes you must make to
the code. In this case, the code is for AnFade from Anfy Java. The
code in the left column is what will be generated by Anfy, which is the most
comprehensive of the applet packages in that it allows you to specify the
graphics and text used and inserts the names of those files into the code.
The other applets require you to type them in--but the principle is the
same. The code in the right column shows how it would be modified for your
use (in yellow).
| <applet archive="AnFade.jar"
code="AnFade.class" width="186" height="207">
<param name="credits" value="Applet by Fabio Ciucci (www.anfyjava.com)">
<param name="res" value="1">
<param name="image1" value="canale.jpg">
<param name="link1" value="NO">
<param name="statusmsg1" value="anfy 1">
<param name="image2" value="fiori.jpg">
<param name="link2" value="NO">
<param name="statusmsg2" value="anfy 2">
<param name="image3" value="william.jpg">
<param name="link3" value="NO">
<param name="statusmsg3" value="anfy 3">
<param name="speed" value="8">
<param name="pause" value="1500">
<param name="progressivefade" value="YES">
<param name="overimg" value="NO">
<param name="overimgX" value="0">
<param name="overimgY" value="0">
<param name="regcode" value="NO">
<param name="regnewframe" value="NO">
<param name="regframename" value="_blank">
<param name="memdelay" value="1000">
<param name="priority" value="3">
<param name="MinSYNC" value="10">
Sorry, your browser doesn't support Java.
</applet>
|
<applet archive="AnFade.jar" codebase="http://www.mysite.com"
code="AnFade.class" width="186" height="207">
<param name="credits" value="Applet by Fabio Ciucci (www.anfyjava.com)">
<param name="res" value="1">
<param name="image1" value="http://www.mysite.com/canale.jpg">
<param name="link1" value="NO">
<param name="statusmsg1" value="anfy 1">
<param name="image2" value="http://www.mysite.com/fiori.jpg">
<param name="link2" value="NO">
<param name="statusmsg2" value="anfy 2">
<param name="image3" value="http://www.mysite.com/william.jpg">
<param name="link3" value="NO">
<param name="statusmsg3" value="anfy 3">
<param name="speed" value="8">
<param name="pause" value="1500">
<param name="progressivefade" value="YES">
<param name="overimg" value="NO">
<param name="overimgX" value="0">
<param name="overimgY" value="0">
<param name="regcode" value="NO">
<param name="regnewframe" value="NO">
<param name="regframename" value="_blank">
<param name="memdelay" value="1000">
<param name="priority" value="3">
<param name="MinSYNC" value="10">
Sorry, your browser doesn't support Java.
</applet>
|
For all
these applets, you must leave the attribution command in the code (in this case,
the param name="credits" line) in order for the applet to work.
|