Restored auto-deleted file from commit: ad54c1ae5bc1b931a6a0cd0b914c19cbc27fe12d
[jalview.git] / examples / embeddedWJmol.html
index 1c1d663..f629312 100644 (file)
@@ -213,19 +213,16 @@ jmolInitialize("","JmolApplet-14.2.14_2015.06.11.jar");
  var jvstructassoc;
  var modeltofiles = new Array();
 
- //function lJvA() {
-  //jvfollower = document.getElementById("jvA");
-  //setConsole(document.getElementById("stdout"));
-  
- // sep = jvfollower.getSeparator();
-  //jvapp.setSeparator(""+jvapp.getSeparator());
-//  linkJvJmol(jvfollower, "jmolView", modeltofiles);
-// };
+ function lJvA() {
+  jvfollower = document.getElementById("jvA");
+  setConsole(document.getElementById("stdout"));
+  linkJvJmol(jvfollower, "jmolView", modeltofiles);
+ };
 
  var _jvA=new Object();
  _jvA.attributes = {
   code : 'jalview.bin.JalviewLite',
-  archive : 'jalviewApplet.jar,JmolApplet-14.2.14_2015.06.11.jar',
+  archive : 'jalviewApplet.jar,JmolApplet-14.2.14_2015.06.11.jar,java-json.jar,json_simple-1.1.jar',
   width : '500',
   height : '350',
   mayscript : 'True',
@@ -265,7 +262,7 @@ jmolInitialize("","JmolApplet-14.2.14_2015.06.11.jar");
 <div style="width: 100%">
 <div style="width:35%; align:left; float:right;">
 <div style="margin:8px; padding:10px; border: 2px solid black; align: left;">
-<p>Quick Links to jars for example:<br/><a href="jalviewApplet.jar">jalviewApplet.jar</a> and <a href="JmolApplet-12.2.4.jar">JmolApplet.jar</a>
+<p>Quick Links to jars for example:<br/><a href="jalviewApplet.jar">jalviewApplet.jar</a> and <a href="JmolApplet-14.2.14_2015.06.11.jar">JmolApplet.jar</a>
 </p></div>
 </div>
 </div>
@@ -277,12 +274,12 @@ jmolInitialize("","JmolApplet-14.2.14_2015.06.11.jar");
 
 <div>
  <script>
-  jmolApplet("500x500","zap; load FILE '1gaq.txt'; frame 0; select all; wireframe off; spacefill off; cartoons; restrict; center *; set selectionhalos true;select 0","jmolView");
+  jmolApplet("500x500","zap; load FILE '1gaq.txt'; frame 0; background black; select all; wireframe off; spacefill off; cartoons; restrict; center *; set selectionhalos true;set hoverDelay 0.001; select 0","jmolView");
  </script>
 </div>
 <div>
 <applet
-   code="jalview.bin.JalviewLite" width="500" height="350" id="jvA" mayscript="True" scriptable="True" archive="jalviewApplet.jar,JmolApplet-12.2.4.jar">
+   code="jalview.bin.JalviewLite" width="500" height="350" id="jvA" mayscript="mayscript" archive="jalviewApplet.jar,JmolApplet-14.2.14_2015.06.11.jar,java-json.jar,json_simple-1.1.jar">
 <param name="permissions" value="sandbox"/>
 <param name="java_arguments" value="-Xmx256m"/>
 <param name="externalstructureviewer" value="true"/>