Sandbox: Difference between revisions

From bradwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:




<!DOCTYPE [[HTML|html]]>
<[[HTML|html]]>
<[[HTML|html]]>
<head>
  <title>HelloWorld_example.html</title>
</head>
<body>
  <h1>A Java applet example</h1>
<script src="http://www.java.com/js/deployJava.js"></script>
<script src="http://www.java.com/js/deployJava.js"></script>
     <script>  
     <script>  
Line 16: Line 9:
         deployJava.runApplet(attributes, parameters, '1.6');  
         deployJava.runApplet(attributes, parameters, '1.6');  
     </script>
     </script>
</body>
</html>
</html>

Revision as of 19:55, 5 June 2013


<html> <script src="http://www.java.com/js/deployJava.js"></script>

   <script> 
       var attributes = {
           code:'components.pathvisio',  width:300, height:300} ; 
       var parameters = {jnlp_href: 'pathvisio.jnlp'} ; 
       deployJava.runApplet(attributes, parameters, '1.6'); 
   </script>

</html>