Click to return to home page
Richard Lowe Jr Home

<PARAM>

Description Attributes Examples Tutorial Tips

Description:

The <PARAM> tag is used to pass data to the applet specified by the <APPLET> tag. <PARAM> is only valid within an <APPLET>.

Attributes:

id = "name"

You can give a text a name, which allows it to be referenced and changed in a script (dynamic HTML).

name = "name"

The name used to identify the attribute. This must match the name which is recognized by the applet being called.

value = "value"

The data passed to the applet.

Examples:

<applet CODE="Animate1.class" WIDTH="468" HEIGHT="60" ALIGN="Top">
  <param NAME="COPYRIGHT" VALUE="Animate applet, Copyright 1997 Sun 
   Microsystems, Inc., all rights reserved.">
  <param NAME="DOCUMENTATION" VALUE="Documentation found at: 
       http://www.xm.com/cafe/">
  <param NAME="WIZARD" VALUE="Created with J-Perk.  J-Perk Web site at: 
       http://www.mcwebsoftware.com/j-perk">
  <param NAME="SOUND.ACTIVATION.0" VALUE="auto">
  <param NAME="TRANSITION.STEP.0" VALUE="1">
  <param NAME="TRANSITION.RATE.0" VALUE="0">
  <param NAME="TARGET.0" VALUE="_blank">
  <param NAME="TARGET.1" VALUE="_blank">
  <param NAME="IMAGE.0" V
       ALUE="http://internet-tips.net/AdBanners/internetwarriors.gif">
  <param NAME="IMAGE.1" 
       VALUE="http://internet-tips.net/AdBanners/ezmoneywithezines.gif">
  <param NAME="PAUSE.0" VALUE="30000">
  <param NAME="TRANSITION.TYPE.0" VALUE="scroll(2)">
  <param NAME="TRANSITION.TYPE.1" VALUE="scroll(2)">
  <param NAME="URL.0" 
       VALUE="http://www.myaffiliateprogram.com/u/warriors/b.asp?id=
  4506">
  <param NAME="URL.1" 
       VALUE="http://www.ezmoneywithezines.com/cgi-bin/s.cgi?why-170">
  <param NAME="CYCLES" VALUE="0">
</applet>

This is a complex call to an Applet which displays rotating banner advertisements.

<applet code="Lake.class" width="434" height="268">
  <param name="image" value="image1.jpg" border="0">
  <param name="href" value="http://www.viperspit.com/lake.html">
</applet>

This is a simpler example, showing a call to the Lake applet. If you would like to see an example of this applet in action, see Cool Java Applets.


Unless otherwise noted, all photos and text is Copyright © Richard G Lowe, Jr.