Proteopedia:DIY:Macros
From Proteopedia
(Difference between revisions)
m |
m |
||
Line 90: | Line 90: | ||
</pre> | </pre> | ||
- | '''Doesn't seem to allow anything other than ligand!?!?''' Why doesn't 'HEM' or '[HEM]' work as the peekaboo example seems to indicate it should?!?! | ||
You can try the result here:<br/> | You can try the result here:<br/> | ||
- | To | + | To highlight the heme group, click on the green sun symbol in the parentheses --> (<jmol> |
<jmolLink> | <jmolLink> | ||
<script>script /mc/ktheis.spt;blink({HEM})</script> | <script>script /mc/ktheis.spt;blink({HEM})</script> | ||
Line 116: | Line 115: | ||
</pre> | </pre> | ||
- | '''Doesn't seem to allow anything other than ligand!?!?''' Why doesn't 'HEM' or '[HEM]' work as the peekaboo example seems to indicate it should?!?! It seems to hide all ligands!??! I also tried peekaboo(HEM) and peekaboo([HEM]) | ||
You can try the result here:<br/> | You can try the result here:<br/> |
Revision as of 04:01, 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.
|