Proteopedia:DIY:Macros

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
m
Line 108: Line 108:
<pre>
<pre>
-
(<jmol>
+
<jmol>
-
<jmolLink>
+
<jmolLink>
-
<script>script /mc/ktheis.spt;peekaboo('HEM')</script>
+
<script>script /mc/ktheis.spt;peekaboo(HEM)</script>
<text>Hide Heme for a moment</text>
<text>Hide Heme for a moment</text>
</jmolLink>
</jmolLink>
-
</jmol>)
+
</jmol>
</pre>
</pre>
Line 119: Line 119:
You can try the result here:<br/>
You can try the result here:<br/>
 +
<jmol>
<jmolLink>
<jmolLink>
<script>script /mc/ktheis.spt;peekaboo(HEM)</script>
<script>script /mc/ktheis.spt;peekaboo(HEM)</script>
<text>Hide Heme for a moment</text>
<text>Hide Heme for a moment</text>
</jmolLink>
</jmolLink>
-
</jmol>)
+
</jmol>

Revision as of 03:39, 4 January 2021

Macros as a tool

Macros can be used in Proteopedia pages to call commonly used JSmol code. Macro functions can take parameters so that the code is general but can act on the specified item or items. Additional macros can be made.

This page is meant to be a resource for finding and using macros.

Structure of myoglobin in complex with heme and oxygen

Drag the structure with the mouse to rotate

Proteopedia Page Contributors and Editors (what is this?)

Wayne Decatur, Jaime Prilusky

Personal tools