We apologize for Proteopedia being slow to respond. For the past two years, a new implementation of Proteopedia has been being built. Soon, it will replace this 18-year old system. All existing content will be moved to the new system at a date that will be announced here.

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