User:Jaime Prilusky/Test/JSmolExtensionExamples
From Proteopedia
(Difference between revisions)
Line 37: | Line 37: | ||
</jmol> | </jmol> | ||
+ | The code below draws this checkbox <jmol> | ||
+ | <jmolCheckbox> | ||
+ | <scriptWhenChecked>select all;label "%a";select _H;label off;select all;</scriptWhenChecked> | ||
+ | <scriptWhenUnchecked>select all; labels off;</scriptWhenUnchecked> | ||
+ | <text>show labels</text> | ||
+ | </jmolCheckbox> | ||
+ | </jmol> | ||
+ | |||
+ | <pre> | ||
+ | <jmol> | ||
+ | <jmolCheckbox> | ||
+ | <scriptWhenChecked>select all;label "%a";select _H;label off;select all;</scriptWhenChecked> | ||
+ | <scriptWhenUnchecked>select all; labels off;</scriptWhenUnchecked> | ||
+ | <text>show labels</text> | ||
+ | </jmolCheckbox> | ||
+ | </jmol> | ||
+ | </pre> | ||
</StructureSection> | </StructureSection> | ||
== References == | == References == | ||
<references/> | <references/> |
Revision as of 03:50, 14 July 2020
Plain examples for JSMolExtension
|