Simply add the id in the <table> tag like that :
<table id="MYNAME" border=1 cellspacing="1" background="Background.gif" width="100%">
<tr><td>23</td><td>13</td></tr>
<tr><td>58</td><td>50</td></tr>
</table>
... then somewhere else, in the same page, add the applet with parameters like that ...
<applet archive="BiSlider.jar" code="com.visutools.nav.bislider.HTMLTableColorizerApplet" width="200" height="60" mayscript>
<param name="MinimumColor" value="#FF0000"> Adapt these values to your table of data
<param name="MaximumColor" value="#0000FF">
<param name="MinimumValue" value="0">
<param name="MaximumValue" value="100">
<param name="MinimumColoredValue" value="0">
<param name="MaximumColoredValue" value="100">
<param name="SegmentSize" value="10"> Smaller it is and more segment there are
<param name="UniformSegment" value="true">
<param name="Precise" value="true"> It doesn't work well for applet but doesn't crash so you can keep it
<param name="CustomPaint" value="true"> Must be true
<param name="LinkToTable" value="MYNAME"> MYNAME indicates how you instrumented your table's tags
<param name="TableWidth" value="2"> The number of columns
<param name="TableHeight" value="2"> The number of rows
<param name="ArcSize" value="18"> Very cosmetic parameters
<param name="Unit" value="">
<param name="InterpolationMode" value="HSB"> HSB, RGB or CENTRAL_BLACK
No Java 2 SDK, Standard Edition v 1.5.0 support for APPLET!!
</applet>
|