Jmol/Interactivity

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 24: Line 24:
</jmol>
</jmol>
</nowiki>
</nowiki>
 +
 +
As a shortcut, you can use a template that inserts the code for you by entering:
 +
<nowiki>
 +
{{subst:Scene button|37/376372/Overall/3|hide water; set zshade off}}</nowiki>
 +
 +
The string behind the first vertical line (the first parameter) is the scene name, and the string behind the second vertical line (the second parameter) is the list of commands called right after the scene is loaded. Once you type this (or paste it) into the editor and save it, the code above will be inserted. You can learn more about templates at [https://www.mediawiki.org/wiki/Help:Templates].
===Link===
===Link===
Line 45: Line 51:
</nowiki>
</nowiki>
-
As a shortcut, you can use a template that inserts the code for you by entering:
+
As a shortcut for making a part of the structure "blink", you can use a template that inserts the code for you by entering:
<nowiki>
<nowiki>
{{subst:blink|ligand or ATP}}</nowiki>
{{subst:blink|ligand or ATP}}</nowiki>
-
Once you type this (or paste it) into the editor and save it, the code above will be inserted.
 
===Check box===
===Check box===

Revision as of 01:57, 10 September 2020

Structure of UvrB in complex with ATP

Drag the structure with the mouse to rotate

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.

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools