Molecular Playground/Procedures: Difference between revisions
Eric Martz (talk | contribs) |
Eric Martz (talk | contribs) |
||
Line 130: | Line 130: | ||
script "/wiki/images/6/6c/MP_relenza01.spt" | script "/wiki/images/6/6c/MP_relenza01.spt" | ||
</script> | </script> | ||
<text> | <text>Display Scene</text> | ||
</jmolButton> | </jmolButton> | ||
</jmol> | </jmol> | ||
</pre> | </pre> | ||
Save the page. (If you click the button now, your Jmol will display the Relenza scene.) | |||
</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''. | ||
Line 139: | Line 140: | ||
'''Get the filepath to your uploaded script:''' After uploading your script, you will be at a new page with the title ''Image:MP_yourMolecule.spt''. On that page, right-click on the link to MP_yourMolecule.spt, near the top, and "Copy Link". | '''Get the filepath to your uploaded script:''' After uploading your script, you will be at a new page with the title ''Image:MP_yourMolecule.spt''. On that page, right-click on the link to MP_yourMolecule.spt, near the top, and "Copy Link". | ||
</li><li> | </li><li> | ||
'''Paste the script filepath into | '''Paste the script filepath into the button:''' Paste the filepath to the uploaded script into the double quotes replacing "/wiki/images/6/6c/MP_relenza01.spt" in the example above. Trim the filepath so that it begins with "/wiki... and ends with ...spt". Save the web page. | ||
</li><li> | |||
'''Test the button:''' Clicking on the button should show your molecular scene, complete with banner, color keys, etc. | |||
</li> | </li> | ||
</ol> | </ol> | ||
If you need to make changes to the script that you uploaded, it is no problem. You can re-upload the same script filename to put a new version on the server, as many times as needed. | |||
==Notes== | ==Notes== | ||
<references /> | <references /> | ||
[[Category:Molecular Playground]] | [[Category:Molecular Playground]] |