Difference between revisions of "Sandbox"

From Jmol
Jump to navigation Jump to search
(merging test with more code from Sandbox)
 
(22 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
== Jmol extension for MediaWiki ==
 
== Jmol extension for MediaWiki ==
 +
{{Anchor|SampleAnchor}}
  
<jmol>
+
etc.
  <jmolApplet>
 
    <name>chair</name>
 
    <size>200</size>
 
    <uploadedFileContents>Chair.xyz</uploadedFileContents>
 
  </jmolApplet>
 
<jmolLink>
 
  <script>color atoms red</script>
 
  <text>color atoms red</text>
 
</jmolLink>
 
<jmolLink>
 
  <script>color atoms blue</script>
 
  <text>color atoms blue</text>
 
</jmolLink>
 
<jmolCheckbox>
 
  <scriptWhenChecked>color atoms lime</scriptWhenChecked>
 
  <scriptWhenUnchecked>color atoms cpk</scriptWhenUnchecked>
 
  <text>color atoms lime</text>
 
  <target>chair</target>
 
</jmolCheckbox>
 
  
<jmolButton>
+
etc.
  <script>color atoms blue</script>
 
  <text>color atoms blue</text>
 
</jmolButton>
 
  
</jmol>
 
Color atoms:
 
  
<jmol>
+
== Anchors ==
<jmolMenu>
+
 
  <item>
+
This is a test link to an [[#SampleAnchor|anchor]] which should take you near the top of the article.
  <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>
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
.

Latest revision as of 20:30, 23 November 2010

This is a page for testing.

Jmol extension for MediaWiki

etc.

etc.


Anchors

This is a test link to an anchor which should take you near the top of the article.















.

Contributors

AngelHerraez