|
The Invisible/Silent
example uses the MySpeed JavaScript feature to simply call a JavaScript
method to manage the results of the test. This is shown in bold below.
Applet Syntax:
<applet MAYSCRIPT name="myspeed"
code="myspeed.class" archive="myspeed.jar" width=1 height=1>
<param name="js" value="mss($DSPEED$, $USPEED$, $QOS$, $RTT$, $MAXPAUSE$, $MSSID$,
)">
<param name="start" value="*">
</applet>
Explanation:
1. Setting the width
and height for the applet to 1 pixel makes the applet invisible to the user.
2. Using the HTML feature <param> to set the MySpeed
parameter 'JS'
to a JavaScript method of your choosing allows you to take control of one or
more of the test results. In the example above the method being called is MSS().
3. Using the HTML feature <param> to set the MySpeed
parameter 'Start'
to the value of '*' invokes the MySpeed auto-start feature which
initiates the test when the web page has loaded. Although this example
uses the <param> option to manage the test results in a unique way. This feature
can be used change any of the MySpeed parameter options. For example the test length could be
extended or reduced. Click the link below for more options.
What other <param> options does MySpeed
support?
|