Pop-up models
A user action will open a popup window with a model.
### jmolFile tag
The link Chair.cml will open a
popup window displaying Chair.cm taken from this wiki
`<jmolFile text='cyclohexane'>Chair.cml</jmolFile>`
|
### jmolMol tag
The link caffeine will open a
popup window displaying caffeine
`<jmolMol text='something in your coffee'>caffeine</jmolMol>`
and acetic acid
|
### jmolSmiles tag
The link
c1ccccc1\[N+\](=O)\[O-\]
will open a popup window displaying nitrobenzene
`<jmolSmiles text='nitrobenzene'>c1ccccc1[N+](=O)[O-]</jmolSmiles>`
|
### jmolPdb tag
The link 1ab0
will open a popup window displaying 1ab0.pdb
`<jmolPdb text='adipocyte lipid binding protein'>1ab0</jmolPdb>`
|
### jmolAppletButton tag
` `
` `` `[`https://files.rcsb.org/download/1ab0.pdb.gz`](https://files.rcsb.org/download/1ab0.pdb.gz)` `
` `
1AB0.pdb Murine adipocyte lipid binding protein at pH 4.5
` `` Adipocyte lipid binding protein`
` `
|
### jmolAppletLink tag
` `
` `` `[`https://files.rcsb.org/download/1ab0.pdb.gz`](https://files.rcsb.org/download/1ab0.pdb.gz)` `
` `
1AB0.pdb Murine adipocyte lipid binding protein at pH 4.5
` `` Adipocyte lipid binding protein `
` `
|
Pop-in models
User action will insert a model within the page.
jmolAppletInlineLink tag
Using urlContents
` `` `[`https://files.rcsb.org/download/1ab0.pdb.gz`](https://files.rcsb.org/download/1ab0.pdb.gz)` `
` `
1AB0.pdb Murine adipocyte lipid binding protein at pH 4.5
` Adipocyte lipid binding protein `
`250`
`linen`
</jmolAppletInlineLink>
</jmol>
In-page models
A model is inserted as part of the page at page load time.
jmolApplet tag
#### Using uploadedFileContents
` `
` ``B`` `
` `
A model stored in a file in this wiki
Chair conformation of cyclohexane
` ``greenTint`` `
` ``260`` `
` `` Chair.cml `
` ``spin popup`` `
` `
|
#### Using urlContents
` `
` ``BB`` `
` `
A file retrieved from the PDB
Murine adipocyte lipid binding protein at pH 4.5 (1AB0.pdb)
` ``blueTint`` `
` ``300`` `
` `` `[`https://files.rcsb.org/download/1ab0.pdb.gz`](https://files.rcsb.org/download/1ab0.pdb.gz)` `
` ``2`` `
` ``spin popup`` `
` `
|
#### Using inlineContents
` `
` ``C`` `
` ``lightGray`` `
` ``240`` `
` `
This is 1-propanol
` `` `
C3H8O APtclcactv02181912073D 0 0.00000 0.00000
`12 11 0 0 0 0 0 0 0 0999 V2000`
` 0.5267 -0.4947 -0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0`
` -0.5950 0.5458 -0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0`
` -1.9499 -0.1649 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0`
` 1.7922 0.1691 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0`
` 0.4436 -1.1185 0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0`
` 0.4436 -1.1185 -0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0`
` -0.5119 1.1696 0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0`
` -0.5119 1.1696 -0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0`
` -2.0330 -0.7887 -0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0`
` -2.0330 -0.7887 0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0`
` -2.7490 0.5764 0.0000 H 0 0 0 0 0 0 0 0 0 0 0 0`
` 2.5508 -0.4305 -0.0000 H 0 0 0 0 0 0 0 0 0 0 0 0`
` 1 2 1 0 0 0 0`
` 2 3 1 0 0 0 0`
` 1 4 1 0 0 0 0`
` 1 5 1 0 0 0 0`
` 1 6 1 0 0 0 0`
` 2 7 1 0 0 0 0`
` 2 8 1 0 0 0 0`
` 3 9 1 0 0 0 0`
` 3 10 1 0 0 0 0`
` 3 11 1 0 0 0 0`
` 4 12 1 0 0 0 0`
M END
` `
` `
` `
` `
` `` spacefill `
` `` C `
` `
` `
` `
` `` ball and stick `
` `` C `
` `
` `
` `` spin on `
` `` spin off `
` `` false `` `
` `` spin `
` `` C `
` `
` `
` `` C `
` `-
` `` color CPK `
` `` true `
` `
` `
` `-
` `` blue `
` `
` `
` `-
` `` green `
` `
` `
` `
` `
` `` C `
` ``false`
` `-
` `` color CPK `
` `` true `
` `
` `
` `-
` `` blue `
` `
` `
` `-
` `` green `
` `
` `
` `
|
#### Using wikiPageContents
` `
` ``D`` `
` `
Data read from the page Models/2-propanol
` ``yellowtint`` `
` ``260`` `
` `
This is 2-propanol
` `` Models/2-propanol `
` `
|
#### Using script
` `
` ``A`` `
` `
This box might hold a 3D model
` ``blueTint`` `
` ``150`` `
` `
` `
|
``
``
` `
` A `
` This box might hold a 3D model `
` blueTint `
` 150 `
` `
` `
``
|
….