/[pdpsoft]/branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/deployment/jgridstart.html
ViewVC logotype

Diff of /branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/deployment/jgridstart.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 817 by wvengen, Thu Sep 17 14:00:57 2009 UTC revision 818 by wvengen, Fri Sep 18 11:44:00 2009 UTC
# Line 4  Line 4 
4  <title>Launch jGridstart</title>  <title>Launch jGridstart</title>
5  <script src="http://java.com/js/deployJava.js"></script>  <script src="http://java.com/js/deployJava.js"></script>
6  <script src="tinybox.js"></script>  <script src="tinybox.js"></script>
7    <script src="deployJNLP.js"></script>
8  <link rel="stylesheet" href="tinybox.css"/>  <link rel="stylesheet" href="tinybox.css"/>
9  </head>  </head>
10  <body>  <body>
# Line 11  Line 12 
12  <h1 style="text-align: center; font-size: 120%;">Launch jGridstart</h1>  <h1 style="text-align: center; font-size: 120%;">Launch jGridstart</h1>
13    
14  <script type="text/javascript"><!--  <script type="text/javascript"><!--
15  var jnlp = 'jgridstart.jnlp';  deployJNLP.jnlp = 'jgridstart.jnlp';
16  var minjava = '1.5';  deployJNLP.minjava = '1.5';
17    deployJNLP.launchButton();
 function launch() {  
         deployJava.launch(jnlp);  
 }  
 function installOrLaunch() {  
         if (deployJava.isWebStartInstalled(minjava)) {  
                 // launch directly if required jws version present  
                 launch();  
         } else {  
                 // otherwise show message on installation  
                 deployJava.returnPage = document.location;  
                 var msg =  
                           "<h2>Java required</h2>"  
                         + "<p>You need to install Java before you can run jGridstart.</p>"  
                         + "<div><a href='javascript:deployJava.installLatestJRE()'><img src='javabutton.png' alt='Install Java'/></a></div"  
                         + "<div class='runanyway'>If you do have Java installed, you can still "  
                         + "<a href='javascript:launch()'>launch jGridstart</a>.</div>";  
                 TINY.box.show(msg, false, 0, 0, false);  
         }  
 }  
   
 document.write('<div class="jwslaunch" style="text-align: center">');  
 document.write('<a href="javascript:installOrLaunch()">');  
 document.write('<img src="'+deployJava.launchButtonPNG+'" border="0" alt="Launch"/>');  
 document.write('</a>');  
 if (!deployJava.isWebStartInstalled(minjava)) {  
         document.write('<div style="font-size: 70%">(Java will be installed first)</div>');  
 }  
 document.write('</div>');  
   
18  //--></script>  //--></script>
19  <noscript><a href="jgridstart.jnlp">Launch</a></noscript>  <noscript><a style="display: block; text-align: center;" href="jgridstart.jnlp">Launch</a></noscript>
20  </div>  </div>
21    
22  </body>  </body>

Legend:
Removed from v.817  
changed lines
  Added in v.818

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28