Jmol/Interactivity
From Proteopedia
Line 61: | Line 61: | ||
<jmol> | <jmol> | ||
<jmolCheckbox> | <jmolCheckbox> | ||
- | <scriptWhenUnChecked>hide ligand or hidden</scriptWhenUnChecked> | + | <scriptWhenUnChecked>hide ligand or hidden |
- | <scriptWhenchecked>hide hidden and not ligand</scriptWhenchecked> | + | </scriptWhenUnChecked> |
+ | <scriptWhenchecked>hide hidden and not ligand | ||
+ | </scriptWhenchecked> | ||
<checked>true</checked> | <checked>true</checked> | ||
<text>ligand</text> | <text>ligand</text> | ||
Line 117: | Line 119: | ||
</jmol> | </jmol> | ||
</nowiki> | </nowiki> | ||
+ | |||
+ | </StructureSection> | ||
+ | |||
+ | ==Advantages== | ||
+ | |||
+ | The commands issued by these interactive elements are in effect immediately, i.e. without delay. You could accomplish the same effect by saving a separate 3D scene, but this will always have a loading delay. The effect is that "playing" with interactive elements is much more immediate than switching between green links. | ||
+ | |||
+ | ==Caveats== | ||
+ | |||
+ | The commands will be issued to the Jmol window irrespective of what is shown there. If you click on a green link elsewhere and then try the buttons etc, the effect is unpredictable. You can try this here by using the interactive elements before clicking on the button that loads the lysozyme structure. If you do that, the commands associated with the interactive elements will act on the UvrB structure instead. |
Revision as of 12:36, 19 June 2020
|
Advantages
The commands issued by these interactive elements are in effect immediately, i.e. without delay. You could accomplish the same effect by saving a separate 3D scene, but this will always have a loading delay. The effect is that "playing" with interactive elements is much more immediate than switching between green links.
Caveats
The commands will be issued to the Jmol window irrespective of what is shown there. If you click on a green link elsewhere and then try the buttons etc, the effect is unpredictable. You can try this here by using the interactive elements before clicking on the button that loads the lysozyme structure. If you do that, the commands associated with the interactive elements will act on the UvrB structure instead.