Difference between revisions of "User:Bduke"

From Jmol
Jump to navigation Jump to search
(Artemisinin.pdb now works)
(got uploaded ethane pdb files to work)
Line 3: Line 3:
 
==Tests of Jmol incorporated into a MediaWiki wiki==  
 
==Tests of Jmol incorporated into a MediaWiki wiki==  
  
===Uploaded file tests===
+
===Staggered and eclipsed ethane===
  
This now works, but earlier it give an error. Also I was unable to upload anything. It warned that only image types can be uploaded.
+
These are pdb files generated by Sybyl for staggered and eclipsed ethane. Use the buttons and the menu that comes up by right mouse clicking on the image to manipulate the images. The left mouse can be used to move the image.
  
 
<center>
 
<center>
<table><tr><td>
+
<table><tr><td>
 +
<center>
 +
<jmol><jmolApplet><script>set spin X 10; spin on</script>
 +
<name>ethane_s</name><color>palegreen</color><size>250</size>
 +
<uploadedFileContents>ethane_s.pdb</uploadedFileContents>
 +
</jmolApplet>
 +
<jmolButton><script>spin on</script><name>ethane_s</name><text>Start spinning</text></jmolButton>
 +
<jmolButton><script>spin off</script><name>ethane_s</name><text>Stop spinning</text></jmolButton>
 +
</jmol></center>
 +
</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>  
 
<center>
 
<center>
<jmol><jmolApplet><script>set spin X 25; spin on</script>
+
<jmol><jmolApplet><script>set spin X 10; spin on</script>
<name>Artemisinin</name><color>black</color><size>400</size>
+
<name>ethane_e</name><color>skyblue</color><size>250</size>
<uploadedFileContents>Artemisinin.pdb</uploadedFileContents>
+
<uploadedFileContents>ethane_e.pdb</uploadedFileContents>
 
</jmolApplet>
 
</jmolApplet>
<jmolButton><script>spin on</script><name>heparin_1</name><text>Start spinning</text></jmolButton>
+
<jmolButton><script>spin on</script><name>ethane_e</name><text>Start spinning</text></jmolButton>
<jmolButton><script>spin off</script><name>heparin_1</name><text>Stop spinning</text></jmolButton>
+
<jmolButton><script>spin off</script><name>ethane_e</name><text>Stop spinning</text></jmolButton>
</jmol>
+
</jmol></center>  
</center>
 
 
</td></tr></table>
 
</td></tr></table>
 
</center>
 
</center>
  
===Staggered and eclipsed ethane===
+
<!--
 
 
These are pdb files generated by Sybyl for staggered and eclipsed ethane. Use the buttons and the menu that comes up by right mouse clicking on the image to manipulate the images. The left mouse can be used to move the image.
 
 
 
 
These used to work but no longer do so.
 
These used to work but no longer do so.
  
Line 95: Line 100:
 
<jmolButton><script>spin off</script><name>ethane-e</name><text>Stop spinning</text></jmolButton>
 
<jmolButton><script>spin off</script><name>ethane-e</name><text>Stop spinning</text></jmolButton>
 
</jmol></center>
 
</jmol></center>
 +
</td></tr></table>
 +
</center>
 +
-->
 +
 +
===Artemisinin.pdb uploaded===
 +
 +
<center>
 +
<table><tr><td>
 +
<center>
 +
<jmol><jmolApplet><script>set spin X 25; spin on</script>
 +
<name>Artemisinin</name><color>black</color><size>400</size>
 +
<uploadedFileContents>Artemisinin.pdb</uploadedFileContents>
 +
</jmolApplet>
 +
<jmolButton><script>spin on</script><name>Artemisinin</name><text>Start spinning</text></jmolButton>
 +
<jmolButton><script>spin off</script><name>Artemisinin</name><text>Stop spinning</text></jmolButton>
 +
</jmol>
 +
</center>
 
</td></tr></table>
 
</td></tr></table>
 
</center>
 
</center>
Line 110: Line 132:
 
<wikiPageContents>User:Bduke/ethane-s.pdb</wikiPageContents>
 
<wikiPageContents>User:Bduke/ethane-s.pdb</wikiPageContents>
 
</jmolApplet></jmol></center>
 
</jmolApplet></jmol></center>
-->
+
 
 
===urlContent Test from a different server - does not work===
 
===urlContent Test from a different server - does not work===
  
 
<center>
 
<center>
<jmol>
+
<jmol><jmolApplet>
<jmolApplet>
 
 
<signed>true</signed>
 
<signed>true</signed>
<name>1CRN</name>
+
<name>1CRN</name><color>blue</color><size>250</size>
<color>blue</color>
+
<urlContents>http://magog.vcp.monash.edu.au/pictures/dave1.pdb</urlContents>
<size>250</size>
 
<urlContents>http://magog.vcp.monash.edu.au/pictures/1CRN.pdb</urlContents>
 
 
</jmolApplet></jmol></center>
 
</jmolApplet></jmol></center>
  
<!--
 
 
===Alchemy file - does not work===
 
===Alchemy file - does not work===
  

Revision as of 22:36, 10 December 2007

Interested in Jmol in general and in particular right now about adding Jmol images to Wikis, particularly Wikipedia.

Tests of Jmol incorporated into a MediaWiki wiki

Staggered and eclipsed ethane

These are pdb files generated by Sybyl for staggered and eclipsed ethane. Use the buttons and the menu that comes up by right mouse clicking on the image to manipulate the images. The left mouse can be used to move the image.

        


Artemisinin.pdb uploaded