|
The Repeat example uses the standard HTML <param>
feature to direct MySpeed to call a JavaScript method when the Speed
and Quality tests are complete. This JavaScript method then takes control of the
repeat test by calling the MySpeed DoStartButton()
API.
Applet Syntax:
<applet MAYSCRIPT name="myspeed"
code="myspeed.class" archive="myspeed.jar" width=600 height=400>
<param name="js" value="mss($DSPEED$, $USPEED$, $QOS$,$RTT$, $MAXPAUSE$)">
</applet>
Explanation:
1. Using the standard HTML feature <param> the
example sets the MySpeed
parameters 'JS'
to the value "mss()". This instructs the applet to call the mss()
JavaScript function and pass the results of the test. The mss() function is the
method used to generate the table, email and then start repeat test.
Although the 'js' option is being used to
automatically call a JavaScript method() in this example the <param> technique can be used to assign any
number of MySpeed test options. For example the Speed test characteristics
such as the length of the test can be changed. Click the link below to see more options.
What other <param> options does MySpeed
support?
|