Difference between revisions of "Uploaded XYZ File"
Jump to navigation
Jump to search
| (4 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
== Uploaded XYZ File == | == Uploaded XYZ File == | ||
| + | This uses <code>uploadedFileContents</code> tag with an XYZ file: | ||
<jmol> | <jmol> | ||
<jmolApplet> | <jmolApplet> | ||
| − | <size>200</size> | + | <title>chair</title> |
| − | <color>orange</color> | + | <size>200</size> |
| − | < | + | <color>orange</color> |
| + | <uploadedFileContents>Chair.xyz</uploadedFileContents> | ||
</jmolApplet> | </jmolApplet> | ||
| + | </jmol>See the page for this file: [[:file:Chair.xyz]] | ||
| + | |||
| + | <jmol> | ||
| + | <jmolLink> | ||
| + | <script>color atoms red</script> | ||
| + | <text>color in red</text> | ||
| + | </jmolLink> | ||
| + | </jmol> | ||
| + | <jmol> | ||
| + | <jmolLink> | ||
| + | <script>color atoms blue</script> | ||
| + | <text>color in blue</text> | ||
| + | </jmolLink> | ||
| + | </jmol> | ||
| + | <jmol> | ||
| + | <jmolCheckbox> | ||
| + | <scriptWhenChecked>color atoms lime</scriptWhenChecked> | ||
| + | <scriptWhenUnchecked>color atoms cpk</scriptWhenUnchecked> | ||
| + | <text>this checkbox colors atoms lime or cpk</text> | ||
| + | </jmolCheckbox> | ||
</jmol> | </jmol> | ||
| − | |||
<jmol> | <jmol> | ||
<jmolCheckbox> | <jmolCheckbox> | ||
| − | <scriptWhenChecked>select all; color | + | <scriptWhenChecked>select all; color purple</scriptWhenChecked> |
| − | <scriptWhenUnchecked>select all; color | + | <scriptWhenUnchecked>select all; color pink</scriptWhenUnchecked> |
| − | <text> | + | <text>this jmolCheckbox colors atoms purple or pink</text> |
</jmolCheckbox> | </jmolCheckbox> | ||
</jmol> | </jmol> | ||
| + | <jmol> | ||
| + | <jmolButton> | ||
| + | <script>color atoms cyan</script> | ||
| + | <text>color in cyan</text> | ||
| + | </jmolButton> | ||
| + | </jmol> | ||
| + | Color atoms: | ||
| + | <jmol> | ||
| + | <jmolMenu> | ||
| + | <item> | ||
| + | <script>color atoms cpk</script> | ||
| + | <text>default</text> | ||
| + | </item> | ||
| + | <item> | ||
| + | <script>color atoms yellow</script> | ||
| + | <text>yellow</text> | ||
| + | </item> | ||
| + | <item> | ||
| + | <script>color atoms blue</script> | ||
| + | <text>blue</text> | ||
| + | </item> | ||
| + | </jmolMenu> | ||
| + | </jmol> | ||
| + | |||
| + | [[Category:Pages Using Jmol MW Extension]] | ||
Latest revision as of 18:46, 2 September 2014
Uploaded XYZ File
This uses uploadedFileContents tag with an XYZ file:
chair |
See the page for this file: file:Chair.xyz
Color atoms: