Molecular Playground/Procedures: Difference between revisions
Eric Martz (talk | contribs) |
Eric Martz (talk | contribs) |
||
Line 139: | Line 139: | ||
<ol> | <ol> | ||
<li> | <li> | ||
'''Specify ''proteopediaStateScript'':''' In ''yourMolecule.spt'' is the variable ''proteopediaStateScript'' that specifies the filepath for your state script on the Proteopedia server. Display the Proteopedia page where you developed your molecular scene, and | '''Specify ''proteopediaStateScript'':''' In ''yourMolecule.spt'' is the variable ''proteopediaStateScript'' that specifies the filepath for your state script on the Proteopedia server. Display the Proteopedia page where you developed your molecular scene, and edit 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. | |||
--> | |||
From the <applet .... /> tag, copy the name of the scene, after "name=". From the example [[Molecular Playground/Relenza]], this is | |||
:User:Eric_Martz/Molecular_Playground/Authoring/3ckz_relenza_tyr274/9 | |||
On '''Macs, copy with Ctrl-C''' not Cmd-C. Paste it into ''MP_yourMolecule.spt'' between the double quotes for the value of ''proteopediaStateScript''. 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: |