|
The Custom Color example uses the standard HTML <param>
feature to direct MyVoIPSpeed to change the colors. Each color section and test
type can independently change colors.
Applet Syntax:
<applet MAYSCRIPT name="voip"
code="myspeed.class" archive="voip.jar" width=600 height=400>
<param name="bps2c"
value="10000=048080,28000=04C0C0,128000=04FFC0,3000000=04FFC0,1000000=C0FFC0,1000000000=00FF80">
<param name="jitter2c" value="0=041F80,3=043FC0,10=046FC0,40=049fC0,100=048080">
<param name="loss2c" value="0=041F80,3=043FC0,10=046FC0,40=049fC0,100=048080">
</applet>
Explanation:
1. Using the standard HTML feature <param> the
example sets the MyVoIPSpeed parameters 'bps2c', 'jitter2c' and 'loss2c'. 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 VoIP, Speed and Quality test in this example this
<param> technique can be used to assign any
number of MyVoIPSpeed test options. For example the VoIP 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 MyVoIPSpeed
support?
|