Difference between revisions of "Test div new"

From NMReDATA
Jump to: navigation, search
Line 47: Line 47:
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
 +
== Pop-in models ==
 +
User action will insert a model within the page.
 +
 +
=== jmolAppletInlineLink tag ===
 +
Using urlContents
 +
<jmol>
 +
  <jmolAppletInlineLink>
 +
    <urlContents> https://files.rcsb.org/download/1ab0.pdb.gz </urlContents>
 +
    <title> 1AB0.pdb Murine adipocyte lipid binding protein at pH 4.5</title>
 +
    <text> Adipocyte lipid binding protein </text>
 +
    <size>250</size>
 +
    <color>linen</color>
 +
  </jmolAppletInlineLink>
 +
</jmol>
 +
 +
== In-page models ==
 +
A model is inserted as part of the page at page load time.
 +
 +
=== jmolApplet tag ===
 +
 +
<table style="width:100%;">
 +
<tr>
 +
<td style="vertical-align:top;">
 +
==== Using uploadedFileContents ====
 +
not yet...

Revision as of 09:30, 27 February 2019

Pop-up models

A user action will open a popup window with a model.

jmolFile tag

..not yet...

jmolMol tag

The link in your coffee will open a popup window displaying caffeine

<jmolMol text='something in your coffee'>caffeine</jmolMol>

and something in vinegar

jmolSmiles tag

The link nitrobenzene will open a popup window displaying nitrobenzene

<jmolSmiles text='nitrobenzene'>c1ccccc1[N+](=O)[O-]</jmolSmiles>

jmolPdb tag

The link adipocyte lipid binding protein will open a popup window displaying 1ab0.pdb

<jmolPdb text='adipocyte lipid binding protein'>1ab0</jmolPdb>

jmolAppletLink tag

Adipocyte lipid binding protein

Pop-in models

User action will insert a model within the page.

jmolAppletInlineLink tag

Using urlContents

Adipocyte lipid binding protein

In-page models

A model is inserted as part of the page at page load time.

jmolApplet tag

Using uploadedFileContents

not yet...