|
The Custom Color example uses the standard HTML <param>
feature to direct MySpeed to change the colors. Each color section can independently change colors.
Applet Syntax:
<applet MAYSCRIPT name="myspeed"
code="myspeed.class" archive="myspeed.jar" width=600 height=400>
<param name="bps2c"
value="10000=048080,28000=04C0C0,128000=04FFC0,3000000=04FFC0,1000000=C0FFC0,1000000000=00FF80">
</applet>
Explanation:
1. Using the standard HTML feature <param> the
example sets the MySpeed parameter 'bps2c'. The
value settings represent the RGB (Red Green Blue) hex number for the scale value
assigned. This instructs the applet to color that section at that scale value
and transition the color to the next scale up.
Although this option is being used to
change the look and feel of the Speed and Quality test in this example this
<param> technique can be used to assign any
number of MySpeed test options. For example the Speed test results can
generate an email for emailing to the service provider. Click the link below to see more options.
What other <param> options does MySpeed
support?
|