User:Wayne Decatur/Biochem642 Sandbox Steps: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Wayne Decatur (talk | contribs)
Wayne Decatur (talk | contribs)
Line 33: Line 33:
===Make the scene you made show automatically in the 3D Jmol applet window when the page comes up'''===
===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.)
*'''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.
*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:
*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 by nowiki tags to tell the page not to process it as normal wikitext is wikitext for a 3D Jmol applet window very similar to what we saw above; '''however, there is a significant difference: the scene parameter has been added in front of the caption parameter'''.  
**Note that at the end of this block of text and flanked by nowiki tags to tell the page not to process it as normal wikitext is wikitext for a 3D Jmol applet window very similar to what we 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.
**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.
#Still in the edit window, add a scene parameter tag to the 3D applet window information wikitext by copying the text from the sample one and pasting it in the wikitext for the active one. Note: the one you pasted isn't a real scene name though! You need to get your scene information there.
*Still in the edit window, add a scene parameter tag to the 3D applet window information wikitext by copying the text from the sample one and pasting it in the wikitext for the active one just in front of 'caption'. Note: the one you pasted isn't a real scene name though!  
*Now to get your scene information
*You need to get your scene information in the Jmol window by changing the dummy name to the name of your scene:
*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.
**Copy the name of your scene from the wikitext you pasted before that made the green link. Just copy the name that is between the sing quotes.
**Replace the dummy text between the single quotes of the name parameter of the wikitext for the Jmol applet window with your scenes name by now pasting it between those single quotes.
**Press 'Save the page' below.
*'''Your scene should now come up automatically when the page starts up!'''


===Editing the caption below the Jmol applet window===
===Editing the caption below the Jmol applet window===