|
The Repeat example uses the standard HTML <param>
feature to direct MyConnection Server to call a JavaScript method when the test completes.
This JavaScript method then takes control of the repeat test by calling the
MyConnection Server DoStartButton()
API.
Applet Syntax:
<applet MAYSCRIPT name="voip"
code="myspeedserver/applet/myspeed.class" archive="/myspeed/myspeed.jar,
/myspeed/plugins.jar" width=700 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 MyConnection Server 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 MyConnection
Server support?
|