User`s manual

Creating Web Pages
4
89
Using Java Viewers to Send Information
index.html
<html>
<head>
<title>PanoramaSnap Applet Sample Page</title>
</head>
<frameset rows="260,*">
<frame name="headFrame" src="PanoramaSnap.html">
<frame name="bodyFrame" src="body.html">
</frameset>
</html>
PanoramaSnap.html
<html>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<head>
<title>PanoramaSnap</title>
</head>
<body>
<applet archive="PanoramaSnap.zip" codebase="http://
192.168.100.10*/
-wvdoc-01-/PanoramaSnap/"
code="PanoramaSnap.class" width=600 height=250>
<param name=cabbase value="PanoramaSnap.cab">
<param name=url value="http://
192.168.100.10*/">
<param name=frame_name value="bodyFrame">
<param name=template_file value="SampleShot.html">
</applet>
</html>
body.html
<html>
</html>
SampleShot.html
<html>
<head>
</head>
<body>
<center>
<script language="JavaScript">
var url=top.headFrame.document.PanoramaSnap.getImagSrc();
if(url!=null){document.write("<img src="+url+">");}
</script>
<p>
<img src="WebViewSmall.gif">
</center>
</body>
</html>
* The underscored portion is a sample IP address. Enter the actual camera server IP address.
Also, if the camera server's HTTP conversion server port number is 80, only the camera server
host name is required. If not, you must include the camera server host port number (eg.
192.168.100.10:8080).
1
2
3
4