Chapter 4. ? The Applet and HTML

Table of Contents
?The Applet Tag
? Applet Configuration Parameters
? Parameters Controling Applet Appearance
? Parameters For User Interface Behaviour
? Callbacks

?The Applet Tag

the Easel applet is included in a page byusing the HTML <applet> tag. The easiest way to get the parameters of this tag correct is to use the easel_applet_tag function to write it:

<script language='JavaScript'>
    easel_applet_tag("mymap", "/overlaid", 330, 330);
</script>
	    <param name='copyright' value='Copyright 1999-2002 Interactive Informati on Ltd'> 

	    <param ...>
	    ...
    </applet>
	  
However, if you want to put the tag in by hand it should look something like the following:
<applet  MAYSCRIPT codebase='/overlaid' archive='easel.jar' code=Easel name='mymap' width=330 height=330>
 

The parameters of the <applet> tag are:

MAYSCRIPT

This indicates that the applet will want to call JavaScript functions.

codebase

This points to where the instalation of Information Overlaid where the applet can be found.

archive

The name of the file containing the applet.

code

The name of the applet itself.

name

The name of the applet within the HTML page. Used to reference it from JavaScript.

width, height

The size of the applet window.