~ubuntu-branches/ubuntu/precise/jcsp/precise

« back to all changes in this revision

Viewing changes to src/jcsp-demos/picasso/Picasso.html

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2010-06-20 18:12:26 UTC
  • Revision ID: james.westby@ubuntu.com-20100620181226-8yg8d9rjjjiuy7oz
Tags: upstream-1.1-rc4
ImportĀ upstreamĀ versionĀ 1.1-rc4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<head>
 
3
   <meta name="Author" content="Peter Welch">
 
4
   <title>JCSP Picasso</title>
 
5
</head>
 
6
<body>
 
7
 
 
8
<CENTER>
 
9
<H1>
 
10
Picasso</H1></CENTER>
 
11
 
 
12
<CENTER>
 
13
<TABLE BORDER="1">
 
14
<TR>
 
15
<TD>
 
16
 
 
17
<!--"CONVERTED_APPLET"-->
 
18
<!-- CONVERTER VERSION 1.1 -->
 
19
<SCRIPT LANGUAGE="JavaScript"><!--
 
20
    var _info = navigator.userAgent; var _ns = false;
 
21
    var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
 
22
//--></SCRIPT>
 
23
<COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
 
24
    var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
 
25
//--></SCRIPT></COMMENT>
 
26
 
 
27
<SCRIPT LANGUAGE="JavaScript"><!--
 
28
    if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "800" HEIGHT = "400"  codebase="http://java.sun.com/products/plugin/1.1.3/jinstall-113-win32.cab#Version=1,1,3,0"><NOEMBED><XMP>');
 
29
    else if (_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.1.2" java_CODE = "PicassoMain.class" WIDTH = "800" HEIGHT = "400"   pluginspage="http://java.sun.com/products/plugin/1.1.3/index-1.1.3.html"><NOEMBED><XMP>');
 
30
//--></SCRIPT>
 
31
<APPLET CODE = "PicassoMain.class" WIDTH = "800" HEIGHT = "400" ></XMP>
 
32
<PARAM NAME = CODE VALUE = "PicassoMain.class" >
 
33
 
 
34
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.1.2">
 
35
 
 
36
</APPLET>
 
37
 
 
38
</NOEMBED></EMBED></OBJECT>
 
39
 
 
40
 
 
41
<!--
 
42
<APPLET  CODE = "PicassoMain.class" WIDTH = "800" HEIGHT = "400" >
 
43
 
 
44
 
 
45
</APPLET>
 
46
-->
 
47
<!--"END_CONVERTED_APPLET"-->
 
48
 
 
49
 
 
50
</TD>
 
51
</TR>
 
52
</TABLE>
 
53
</CENTER>
 
54
 
 
55
<P>Point the mouse at the applet.  [LEFT MOUSE CLICK] toggles in and out of
 
56
<i>sketching</i> mode.  [MIDDLE MOUSE CLICK] toggles in and out of <i>box-target</i>
 
57
mode.  [RIGHT MOUSE CLICK] clears the applet and returns to its initial state.
 
58
 
 
59
</BODY>
 
60
</HTML>
 
61