Proteopedia:DIY:Macros
From Proteopedia
(Difference between revisions)
m |
m |
||
| Line 15: | Line 15: | ||
Integrating macro use into JSmol code is straightforward. | Integrating macro use into JSmol code is straightforward. | ||
This example doesn't require any parameter to act. It causes the structure shown to 'bobble()'. | This example doesn't require any parameter to act. It causes the structure shown to 'bobble()'. | ||
| - | |||
<!-- | <!-- | ||
<pre> | <pre> | ||
| Line 45: | Line 44: | ||
'''Doesn't seem to stop!?!?''' So what if a make separate buttons? That seems to work. | '''Doesn't seem to stop!?!?''' So what if a make separate buttons? That seems to work. | ||
--> | --> | ||
| - | |||
<pre> | <pre> | ||
<jmol> | <jmol> | ||
Revision as of 02:47, 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.
| |||||||||||
