Difference between revisions of "Sandbox Smiles"

From Jmol
Jump to navigation Jump to search
 
Line 1: Line 1:
Loading from SMILES:
 
 
 
<jmol>
 
<jmol>
  <jmolApplet>
+
<jmolApplet>
    <signed>true</signed>
+
  <signed>true</signed>
    <size>250</size>
+
  <size>250</size>
  </jmolApplet>
+
</jmolApplet>
 
</jmol>
 
</jmol>
 
<jmol>
 
<jmol>
  <jmolButton>
+
<jmolButton>
      <script>var x=prompt('enter a SMILES string','');if (!x) {quit}; load @{'$' + x};
+
  <script>var x=prompt('enter a SMILES string','');if(!x){quit};load @{'$'+x};
      </script>
+
  </script>
      <text>enter a SMILES and load</text>
+
  <text>enter a SMILES to be loaded</text>
 
   </jmolButton>
 
   </jmolButton>
 
   <jmolMenu>
 
   <jmolMenu>
Line 31: Line 29:
 
     </item>
 
     </item>
 
   </jmolMenu>
 
   </jmolMenu>
 +
</jmol>
 +
<jmol>
 +
<jmolButton>
 +
  <script>var x=prompt('enter a 4-character PDB id','');if(!x){quit};load @{'='+x};
 +
  </script>
 +
  <text>enter a PDB id to be loaded</text>
 +
  </jmolButton>
 
</jmol>
 
</jmol>

Latest revision as of 19:25, 25 September 2010

Contributors

AngelHerraez