JAL-1517 first stab at release notes... lots of documentation to go!
[jalview.git] / examples-jbake / templates / jvl_linkedapplets_ng.ftl
index a3c0b3e..1de2e58 100644 (file)
@@ -1,4 +1,5 @@
-<script src="http://www.java.com/js/deployJava.js"></script>
+<script src="javascript/deployJava.js"></script>
+<script src="javascript/jshashtable-2.1.js" language="javascript"></script>
 <script src="javascript/jalview.js" language="javascript"></script>
 <script>  //deployJava.debug="true";
   
     linkJvJmol(jvfollower);
   };
 </script>
-    <strong>JalviewLite Linked Applets Demo<br></strong>
-    <p>The two applets below use <a href="JalviewLiteJs.html">JalviewLite's javascript API</a> to exchange events about the currently selected region and mouse position in the alignment.
+    <h2>JalviewLite Linked Applets Demo</h2>
+    <p>The two applets below use <a href="jalviewLiteJs.html">JalviewLite's javascript API</a> to exchange events about the currently selected region and mouse position in the alignment.
     </p>
        <script> 
   var attributes = {
     code : 'jalview.bin.JalviewLite',
-    archive : 'jalviewApplet.jar',
+    archive : '${content.jvl}',
     width : 800,
     height : 300,
     mayscript : 'True', scriptable: 'True',
@@ -47,7 +48,7 @@
     linkLabel_2 : "Uniprot"
     ,
     linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
-    permissions : 'all-permissions',
+    permissions : 'sandbox',
     APPLICATION_URL : "http://www.jalview.org/services/launchApp"
   };
  
@@ -56,7 +57,7 @@
 <script> 
   var attributes = {
     code : 'jalview.bin.JalviewLite',
-    archive : 'jalviewApplet.jar',
+    archive : '${content.jvl}',
     width : 800,
     height : 300,
     mayscript : 'True', scriptable: 'True',
@@ -80,7 +81,7 @@
     linkLabel_2 : "Uniprot"
     ,
     linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
-    permissions : 'all-permissions',
+    permissions : 'sandbox',
    APPLICATION_URL : "http://www.jalview.org/services/launchApp"
   };
   deployJava.runApplet(attributes, parameters, '1.6');