This old version of Proteopedia is provided for student assignments while the new version is undergoing repairs. Content and edits done in this old version of Proteopedia after March 1, 2026 will eventually be lost when it is retired in about June of 2026.


Apply for new accounts at the new Proteopedia. Your logins will work in both the old and new versions.


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

Personal tools