Molecular Playground/Procedures: Difference between revisions
Eric Martz (talk | contribs) No edit summary |
Eric Martz (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
This page details procedures for authoring content modules for [http://molecularplayground.org Molecular Playground]. It is a supplement to the main article on authoring modules, [[Molecular Playground/Authoring]]. | This page details procedures for authoring content modules for [http://molecularplayground.org Molecular Playground]. It is a supplement to the main article on authoring modules, [[Molecular Playground/Authoring]]. | ||
This page describes procedures step by step. | This page describes procedures step by step. Modules at [[Molecular_Playground/Authoring#Three_Levels|Levels II and III]] use utility functions in MPSupportVersion01.spt. A list of these function is provided at [[Molecular_Playground/Support_Script_Help]]. | ||
==Help Is Available!== | ==Help Is Available!== | ||
Line 118: | Line 118: | ||
:*[[Image:MP_relenza03.spt]] | :*[[Image:MP_relenza03.spt]] | ||
:*[[Image:MPSceneVersion01.spt]] | :*[[Image:MPSceneVersion01.spt]] | ||
:*[[Image:MPSupportVersion01.spt]] | :*[[Image:MPSupportVersion01.spt]] (see description of what is in this at [[Molecular_Playground/Support_Script_Help]]) | ||
</li><li><!-- sublist --> | </li><li><!-- sublist --> | ||
'''Rename''' MP_relenza.spt to yourMolecule.spt. | '''Rename''' MP_relenza.spt to yourMolecule.spt. | ||
Line 175: | Line 175: | ||
Make sure there are no spaces before any of the lines you pasted in. | Make sure there are no spaces before any of the lines you pasted in. | ||
Save the page. (If you click the button now, your Jmol will display the Relenza scene.) | Save the page. (If you click the button now, your Jmol will display the Relenza scene.) | ||
Note: Alternatively you may use a green link to play your script instead of a button. See the demonstration at [[Demonstration of a complex animation playing from a green link]]. | |||
</li><li> | </li><li> | ||
'''Upload your script:''' At Proteopedia, click on ''Upload file'' in the toolbox on the left side of every page. Use the ''Choose File'' button to select MP_yourMolecule.spt. You don't need to change anything else on the page. (Optionally, in the Summary box, enter the title of the permanent page in Proteopedia where you will display the scene.) Click the button ''Upload file''. | '''Upload your script:''' At Proteopedia, click on ''Upload file'' in the toolbox on the left side of every page. Use the ''Choose File'' button to select MP_yourMolecule.spt. You don't need to change anything else on the page. (Optionally, in the Summary box, enter the title of the permanent page in Proteopedia where you will display the scene.) Click the button ''Upload file''. |