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.
Jmol/Interactivity
From Proteopedia
(Difference between revisions)
| Line 9: | Line 9: | ||
</jmolButton> | </jmolButton> | ||
</jmol> | </jmol> | ||
| + | |||
| + | The following code was used to build the button and make it work: | ||
| + | <nowiki | ||
| + | <jmol> | ||
| + | <jmolButton> | ||
| + | <script>script /scripts/37/376372/Overall/3.spt; | ||
| + | hide water; set zshade off</script> | ||
| + | <text>Lysozyme</text> | ||
| + | </jmolButton> | ||
| + | </jmol> | ||
| + | </nowiki> | ||
| + | |||
| + | |||
| + | The elements below make parts of the structure "blink": | ||
(carb<jmol> | (carb<jmol> | ||
| Line 16: | Line 30: | ||
</jmolLink> | </jmolLink> | ||
</jmol>) | </jmol>) | ||
| + | |||
| + | <nowiki | ||
| + | (carb<jmol> | ||
| + | <jmolLink> | ||
| + | <script> select ligand; selectionHalos ON; | ||
| + | delay 0.5; selectionHalos OFF;</script> | ||
| + | <text>☼</text> | ||
| + | </jmolLink> | ||
| + | </jmol>) | ||
| + | </nowiki> | ||
| + | |||
| + | |||
N terminus(<jmol><jmolLink><script> select 1.CA; selectionHalos ON; delay 0.5;selectionHalos OFF;</script><text>☼</text></jmolLink> </jmol>) | N terminus(<jmol><jmolLink><script> select 1.CA; selectionHalos ON; delay 0.5;selectionHalos OFF;</script><text>☼</text></jmolLink> </jmol>) | ||
</StructureSection> | </StructureSection> | ||
Revision as of 20:24, 18 June 2020
| |||||||||||
