User:Jaime Prilusky/Test/JSmolExtensionExamples

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
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

Caption for this structure

Drag the structure with the mouse to rotate

References

Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky

Personal tools