Remixing: Difference between revisions
From Proteopedia
Jump to navigationJump to search
No edit summary |
|||
| Line 37: | Line 37: | ||
# paste into the lower portion of the JSmol Console a line like this <span style='background-color:#cecece;'>script pathToTheScene;</span> and click [Run]. For example, you would use the command "script /wiki/scripts/Green_Fluorescent_Protein/Chromophore/1.spt" to load the scene showing the chromophore. | # paste into the lower portion of the JSmol Console a line like this <span style='background-color:#cecece;'>script pathToTheScene;</span> and click [Run]. For example, you would use the command "script /wiki/scripts/Green_Fluorescent_Protein/Chromophore/1.spt" to load the scene showing the chromophore. | ||
# modifify the scene on SAT, if desired | # modifify the scene on SAT, if desired | ||
# save the scene on the [save scene] tab, as a new scene local to your page, with a name and a caption that works for your page. | # save the scene on the [save scene] tab, as a new scene local to your page, with a name and a caption that works for your page. | ||
=== Modifying scenes called through a Jmol link === | |||
Some green links don't have a scene block but rather have a jmolLink block, e.g. | |||
<jmol><jmolLink> | |||
<script> | |||
script /scripts/37/376372/Hbonds/2.spt; | |||
select sheets and backbone; hbonds 0.2; delay 1.2; hbonds 0.04; | |||
</script> | |||
<text>between strands</text> | |||
</jmolLink> | |||
</jmol> | |||
If there is a call to a script like in this example, you can copy the entire block (from <jmol > to </jmol >) and paste it into the new page. Once it is saved in your new page, the scene (without any additional commands in the code, the like ones in the example highlighting hydrogen bonds in the sheets) will be accessible in the scene authoring tools. | |||
== Remixing scenes from Proteopedia as images == | == Remixing scenes from Proteopedia as images == | ||