User:Wayne Decatur/Biochem642 Sandbox Steps: Difference between revisions
From Proteopedia
Jump to navigationJump to search
mNo edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 35: | Line 35: | ||
*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 structure 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. | ||
*In the edit window, the wikitext for the currently active Jmol applet window right now reads : <br> <nowiki>< | *In the edit window, the wikitext for the currently active Jmol applet window right now reads : <br> <nowiki><Structure load='1d66' size='300' frame='true' align='right' caption='Your caption here.' /></nowiki> | ||
*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! It will now resemble:<br> <nowiki>< | *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! It will now resemble:<br> <nowiki><Structure load='1d66' size='300' frame='true' align='right' caption='Your caption here.' scene='Sandbox/TestScene/1' /></nowiki> | ||
*You need to get your scene information in the Jmol window by changing the dummy name to the name of your scene: | *You need to get your scene information in the Jmol window by changing the dummy name to the name of your scene: | ||
**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. | **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. It will now resemble:<br> <nowiki>< | **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. It will now resemble:<br> <nowiki><Structure load='1d66' size='400' frame='true' align='right' caption='Your caption here.' scene='SandboxNUMBER/YOURSceneHERE/1'/></nowiki> | ||
**Press 'Save the page' below. | **Press 'Save the page' below. | ||
*'''Your scene should now come up automatically when the page starts up!''' | *'''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=== | ||
| Line 82: | Line 81: | ||
===Nicely arranging multiple Jmol applet windows=== | ===Nicely arranging multiple Jmol applet windows=== | ||
*Using 'left', 'right' and 'center' with small window size allows easy arrangement: [[User:Wayne Decatur/Applet side by side demo| example page here]] | *Using 'left', 'right' and 'center' align tags with small window size allows easy arrangement: [[User:Wayne Decatur/Applet side by side demo| example page here]] | ||
*Tables also provide a simple way to control the arrangement of Jmol Applet windows on a Proteopedia page, for examples see [[User:Wayne Decatur/Sandbox Controlled Applet Layout| here]]. | *Tables also provide a simple way to control the arrangement of Jmol Applet windows on a Proteopedia page, for examples see [[User:Wayne Decatur/Sandbox Controlled Applet Layout| here]]. | ||
**Tables are specified by wikitext or html within the code controlling the page that you see when you go to 'edit this page'. | **Tables are specified by wikitext or html within the code controlling the page that you see when you go to 'edit this page'. | ||