User:Wayne Decatur/Biochem642 Molecular Visualization Sessions: Difference between revisions
Line 64: | Line 64: | ||
**Once you have change the text in the editing window, look below the editing window (you may need to scroll your browser page down), and click the 'Save Page' button. | **Once you have change the text in the editing window, look below the editing window (you may need to scroll your browser page down), and click the 'Save Page' button. | ||
**'''Congratulations, you just edited your first Proteopedia page!''' | **'''Congratulations, you just edited your first Proteopedia page!''' | ||
*[[Scene authoring tools|Proteopedia's Scene Authoring Tools]] | *[[Scene authoring tools|Proteopedia's Scene Authoring Tools]] | ||
*'''Now author a scene (view) to add to your Sandbox page''': | *'''Now author a scene (view) to add to your Sandbox page''': | ||
**Once again, click on 'edit this page' up at the top of the page. | **Once again, click on 'edit this page' up at the top of the page. | ||
Line 73: | Line 75: | ||
**When you are satisfied with your name and description, '''press 'save scene' '''and you will see text show up in the box labeled 'wikitext' below. | **When you are satisfied with your name and description, '''press 'save scene' '''and you will see text show up in the box labeled 'wikitext' below. | ||
**Highlight and copy the text at the bottom of that box (all text after the colon), and paste it below the other text up in the edit window. | **Highlight and copy the text at the bottom of that box (all text after the colon), and paste it below the other text up in the edit window. | ||
**'''Now hide the Scene Authoring tools'''by pressing 'hide' next to the name (where you pressed 'show' earlier) and the 'Save page' button will again be active. Click the 'Save page' button. | **'''Now hide the Scene Authoring tools''' by pressing 'hide' next to the name (where you pressed 'show' earlier) and the 'Save page' button will again be active. Click the 'Save page' button. | ||
**'''Congratulations, you just made your first scene!''' | **'''Congratulations, you just made your first scene!''' | ||
**'''However, you need to press the green text (green link) on your page to see it.''' If you click on it while viewing the page, the scene in the Jmol window at the right should change to it. | **'''However, you need to press the green text (green link) on your page to see it.''' If you click on it while viewing the page, the scene in the Jmol window at the right should change to it. | ||
*'''Make the scene you made show automatically in the 3D Jmol applet window when the page comes up''': | |||
**BEFORE YOU CLICK 'EDIT THIS PAGE' again, read the last text in the window to the left of the 3D Jmol applet as this outlines the process. (Leave this block of text on the page until you are comfortable making 3D applets, at which point feel free to delete it, if you want.) | |||
**Go ahead now and click on 'edit this page' up at the top of the page. | |||
**We will finally consider the last block of text in the edit window: | |||
***Note that at the end of this block of text and flanked my nowiki tags to tell the page not to process it as normal wikitext is wikitext very similar to what we just saw above; '''however, there is a significant difference: the scene parameter has been added in front of the caption parameter'''. | |||
***In between the single quotes for the scene parameter is the name of a dummy scene; there is no real scene corresponding to this name. | |||
**Click 'EDIT THIS PAGE', and add a scene tag to the 3D applet window information by copying the sample one (that generates the text you read from the page when not in editing mode) and putting it in the real one above. The one you pasted isn't a real scene name though! You need to get your scene information there. | |||
**So copy the name of your scene between the single quotes down lower on the page, and replace the dummy text between the single quotes of the scene tag you just added to the 3D applet window information. | |||
*Load that same scene again in the Scene Authoring Tools using the load scene tab, modify it, and save a new scene. Paste the scene into your page. | |||
Showing two scenes on your Sandbox page: | |||
*Make another scene and save it. (You can keep the same name because it will get a new version number.) | |||
*Using the wikitext toolbar as an alternative way to make a 3D Jmol applet window:<br> | |||
Instead of copying from elsewhere and then pasting the wikitext specifying an applet window into a spot on your page, you can use the wiki toolbar that show above the edit window in edit mode. | |||
##Enter edit mode if you aren't in it, by pressing 'edit this page' up at the top of the page. | |||
##Click the button that says '3D' on the right of the toolbar. | |||
##Edit load parameter to have the pdb ID code you need and edit the caption if you want. | |||
##Edit any of the other parameters as you choose. | |||
##You can also add a scene parameter and the name of one of your scenes in between the single quotes, if you desire. For example:<br> | |||
<nowiki><applet load='1d66' size='400' frame='true' align='right' scene='SandboxNUMBER/YOURSceneHERE/1' caption='Your caption here.' /></nowiki> | |||
*Getting wikitext or scene names for old scenes or if you forgot to copy the scene before: | |||
##Enter edit mode if you aren't in it, by pressing 'edit this page' up at the top of the page. | |||
##Show the Scene Authoring tools. | |||
##Click the 'load scene' tab and use the menu to find and select the scene name and version number. | |||
##The scene will then come up in the Jmol window at the right and the wikitext will appear in the window at the bottom. | |||
##Copy the wikitext you need or just the name of the scene, if that is all you need. | |||
##Paste that information where you need it. | |||
*[[Help:Copying FirstGlance Scenes into Proteopedia|Copying FirstGlance Scenes into Proteopedia]] | *[[Help:Copying FirstGlance Scenes into Proteopedia|Copying FirstGlance Scenes into Proteopedia]] | ||
*Proteopedia pages can be exported for offline viewing using the toolbox on the left. | *Proteopedia pages can be exported for offline viewing using the toolbox on the left. |