User:Jaime Prilusky/Test/multi-scene: Difference between revisions

From Proteopedia
Jump to navigation Jump to search
Jaime Prilusky (talk | contribs)
No edit summary
Jaime Prilusky (talk | contribs)
No edit summary
Line 24: Line 24:
</jmol>, just displaying one scene after another
</jmol>, just displaying one scene after another


where the code is like this:
Quite primitive, with a list of scenes to display when you click the link or the button. You may add <b>delay 0.5;</b> between scenes, where the value is in seconds, and, of course, repeat scenes on the list.
We can try to add a loop or another form of flow-control over the list.
 
* The current code is like this:
<pre>
<pre>
<jmol>
<jmol>

Revision as of 10:46, 17 October 2024


, just displaying one scene after another

, just displaying one scene after another

Quite primitive, with a list of scenes to display when you click the link or the button. You may add delay 0.5; between scenes, where the value is in seconds, and, of course, repeat scenes on the list.

We can try to add a loop or another form of flow-control over the list.

  • The current code is like this:
<jmol>
  <jmolButton>
    <text>multi-scene</text>
    <script>
      script /wiki/scripts/10/1051440/3rec/1.spt
      script /wiki/scripts/10/1051455/1crn_121/1.spt
      script /wiki/scripts/96/961168/1ejg_simple/1.spt
    </script>
  </jmolButton>
</jmol>
Drag the structure with the mouse to rotate