Advertisement
Guest User

sampleApplet

a guest
Apr 10th, 2010
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.04 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3.   <head>
  4.     <!-- charset must remain utf-8 to be handled properly by Processing -->
  5.     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6.  
  7.     <title>sketch_apr11a : Built with Processing</title>
  8.  
  9.     <style type="text/css">
  10.       /* <![CDATA[ */
  11.    
  12.     body {
  13.       margin: 60px 0px 0px 55px;
  14.       font-family: verdana, geneva, arial, helvetica, sans-serif;
  15.       font-size: 11px;
  16.       background-color: #ddddcc;
  17.       text-decoration: none;
  18.       font-weight: normal;
  19.       line-height: normal;
  20.     }
  21.          
  22.     a          { color: #3399cc; }
  23.     a:link     { color: #3399cc; text-decoration: underline; }
  24.     a:visited  { color: #3399cc; text-decoration: underline; }
  25.     a:active   { color: #3399cc; text-decoration: underline; }
  26.     a:hover    { color: #3399cc; text-decoration: underline; }
  27.  
  28.      /* ]]> */
  29.     </style>    
  30.   </head>
  31.  
  32.   <body>
  33.     <div id="content">
  34.       <div id="sketch_apr11a_container">
  35.  
  36.     <!-- This version plays nicer with older browsers,
  37.          but requires JavaScript to be enabled.
  38.          http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html -->
  39.     <script type="text/javascript"
  40.         src="http://www.java.com/js/deployJava.js"></script>
  41.     <script type="text/javascript">
  42.       /* <![CDATA[ */
  43.  
  44.       var attributes = { code:'sketch_apr11a.class',
  45.                             archive: 'sketch_apr11a.jar',
  46.                             width:100, height:100 } ;
  47.          var parameters = { };
  48.          var version = '1.5';
  49.          deployJava.runApplet(attributes, parameters, version);
  50.  
  51.          /* ]]> */
  52.         </script>
  53.        
  54.     <noscript> <div>
  55.       <!--[if !IE]> -->
  56.       <object classid="java:sketch_apr11a.class"
  57.                   type="application/x-java-applet"
  58.                   archive="sketch_apr11a.jar"
  59.                   width="100" height="100"
  60.                   standby="Loading Processing software..." >
  61.            
  62.         <param name="archive" value="sketch_apr11a.jar" />
  63.        
  64.         <param name="mayscript" value="true" />
  65.         <param name="scriptable" value="true" />
  66.        
  67.         <param name="image" value="loading.gif" />
  68.         <param name="boxmessage" value="Loading Processing software..." />
  69.         <param name="boxbgcolor" value="#FFFFFF" />
  70.        
  71.         <param name="test_string" value="outer" />
  72.       <!--<![endif]-->
  73.  
  74.         <!-- For more instructions on deployment,
  75.          or to update the CAB file listed here, see:
  76.          http://java.sun.com/javase/6/webnotes/family-clsid.html
  77.          http://java.sun.com/javase/6/webnotes/install/jre/autodownload.html -->
  78.         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
  79.             codebase="http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab"
  80.             width="100" height="100"
  81.             standby="Loading Processing software..."  >
  82.          
  83.           <param name="code" value="sketch_apr11a" />
  84.           <param name="archive" value="sketch_apr11a.jar" />
  85.          
  86.           <param name="mayscript" value="true" />
  87.           <param name="scriptable" value="true" />
  88.          
  89.           <param name="image" value="loading.gif" />
  90.           <param name="boxmessage" value="Loading Processing software..." />
  91.           <param name="boxbgcolor" value="#FFFFFF" />
  92.          
  93.           <param name="test_string" value="inner" />
  94.          
  95.           <p>
  96.         <strong>
  97.           This browser does not have a Java Plug-in.
  98.           <br />
  99.           <a href="http://www.java.com/getjava" title="Download Java Plug-in">
  100.             Get the latest Java Plug-in here.
  101.           </a>
  102.         </strong>
  103.           </p>
  104.          
  105.         </object>
  106.        
  107.       <!--[if !IE]> -->
  108.       </object>
  109.       <!--<![endif]-->
  110.  
  111.     </div> </noscript>
  112.  
  113.       </div>
  114.      
  115.       <p>
  116.    
  117.       </p>
  118.      
  119.       <p>
  120.     Source code: <a href="sketch_apr11a.pde">sketch_apr11a</a> <a href="sketch_080424a.pde">sketch_080424a</a>
  121.       </p>
  122.      
  123.       <p>
  124.     Built with <a href="http://processing.org" title="Processing.org">Processing</a>
  125.       </p>
  126.     </div>
  127.   </body>
  128. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement