Jmol/Interactivity: Difference between revisions
From Proteopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
<jmolButton> | <jmolButton> | ||
<script>script /scripts/37/376372/Overall/3.spt; hide water; set zshade off</script> | <script>script /scripts/37/376372/Overall/3.spt; hide water; set zshade off</script> | ||
<text> | <text>Lysozyme</text> | ||
</jmolButton> | </jmolButton> | ||
</jmol> | </jmol> | ||
| Line 83: | Line 83: | ||
Again, you can use a template to type less: | Again, you can use a template to type less: | ||
<nowiki> | <nowiki> | ||
{{subst:Hide button|ATP | {{subst:Hide button|ligand or ATP|(ligand or ATP)}}</nowiki> | ||
| Line 97: | Line 95: | ||
</jmolCheckbox> | </jmolCheckbox> | ||
</jmol> | </jmol> | ||
===Radio button=== | ===Radio button=== | ||
| Line 187: | Line 176: | ||
{{subst:Store view buttons}}</nowiki> | {{subst:Store view buttons}}</nowiki> | ||
For more than one view, just add another pair of buttons and change view1 to view2. | For more than one view, just add another pair of buttons and change view1 to view2. For a more elaborate example how to use buttons to dock a ligand, see [[User:Karsten Theis/Animation course]]. | ||
==Button to choose a fixed orientation and view== | ==Button to choose a fixed orientation and view== | ||