Molecular Playground/Procedures: Difference between revisions

Eric Martz (talk | contribs)
Eric Martz (talk | contribs)
Line 121: Line 121:
<ol>
<ol>
<li>
<li>
'''Specify ''proteopediaStateScript'':''' In your script ''MP_yourMolecule.spt'' is the variable ''proteopediaStateScript'' that specifies the filepath for your state script on the Proteopedia server. Go to the page where you developed your molecular scene, and display your scene in Jmol on that page. Click on the word ''Jmol'' to the lower right of the molecule, to raise Jmol's menu. On the menu, click on '''Show, History'''. The white ''Jmol Script Console'' will open, showing the filepath. Copy only the part beginning "/wiki...", and excluding the word "script" and the semicolon at the end. Paste it between the double quotes for the value of ''proteopediaStateScript''. On Macs, you will need to drag the blocked filepath and drop it into your [[Help:Plain text editors|text editing program]]. For a concrete example of what this should look like, see [http://proteopedia.org/wiki/images/5/54/MP_relenza03.spt MP_relenza03.spt].
'''Specify ''proteopediaStateScript'':''' In your script ''MP_yourMolecule.spt'' is the variable ''proteopediaStateScript'' that specifies the filepath for your state script on the Proteopedia server. Go to the page where you developed your molecular scene, and display your scene in Jmol on that page. Click on the word ''Jmol'' to the lower right of the molecule, to raise Jmol's menu. On the menu, click on '''Show, History'''. The white ''Jmol Script Console'' will open, showing the filepath. Copy only the part beginning "/wiki...", excluding the word "script" and the semicolon at the end. Paste it between the double quotes for the value of ''proteopediaStateScript''. On Macs, you will need to drag the blocked filepath and drop it into your [[Help:Plain text editors|text editing program]]. For a concrete example of what this should look like, see [http://proteopedia.org/wiki/images/5/54/MP_relenza03.spt MP_relenza03.spt].
</li><li>
</li><li>
'''Put a button into your web page:''' At the point where you want a button to display your scene, copy and paste the following into the wikitext of your web page:
'''Put a button into your web page:''' At the point where you want a button to display your scene, copy and paste the following into the wikitext of your web page:

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Eric Martz, Angel Herraez