User`s manual

Still Image Recording Service
5
127
Using the Still Image Recording Service to Send Information
script.template.html
<html>
<head>
<script language="JavaScript">
<!---------------
var INDEXDIR = "http://
__HTTP_SERVER_HOST_AND_PORT__/
-wvdoc-01-/Snap/";
var APPLETDIR = "http://
__HTTP_SERVER_HOST_AND_PORT__/
-wvdoc-01-/SamplePages/upload/
Applet/SnapAnimator/";
var applet =
top.appletFrame.document.SnapSelector;
var count = applet.entrySize();
//-------------->
</script>
</head>
<body>
<script language="JavaScript">
body = '<APPLET codebase="' +
APPLETDIR + '"';
body +=' code=SnapAnimator.class
name=SnapAnimator width=320
height=300>';
for(i = 0 ; i < count ; i++)
{ var time = applet.replace("TIME", i);
var date = applet.replace("DATE", i);
var file = INDEXDIR +
applet.replace("FILE_NAME", i);
body += '<param name=image' + i + '
value="' + file + '">';
body += '<param name=time' + i + '
value="' + date + ' ' + time + '">';}
body += '</APPLET>';
document.write(body);
document.close();
</script>
</body>
</html>
The script.template.html file in sample 2
is also for use by the automatic sample
page generation function. However, this
sample displays the "SnapAnimator"
applet in place of the stored images list.
"SnapAnimator" creates a dummy video
by sequentially displaying the images in
the group.