Sandbox applets
From Proteopedia
(Difference between revisions)
(2 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | *[[User:Adithya Sagar/Sandbox applets]] | ||
<applet name= "A" load='1ema' size='300' frame='true' align='right' caption='Insert caption here' /> | <applet name= "A" load='1ema' size='300' frame='true' align='right' caption='Insert caption here' /> | ||
<applet name= "B" load='1ema' size='300' frame='true' align='right' caption='Insert caption here' /> | <applet name= "B" load='1ema' size='300' frame='true' align='right' caption='Insert caption here' /> | ||
<applet name= "C" load='1ema' size='300' frame='true' align='right' caption='Insert caption here' /> | <applet name= "C" load='1ema' size='300' frame='true' align='right' caption='Insert caption here' /> | ||
<applet name= "D" load='1ema' size='300' frame='true' align='right' caption='Insert caption here' /> | <applet name= "D" load='1ema' size='300' frame='true' align='right' caption='Insert caption here' /> | ||
+ | |||
+ | |||
+ | <jmol> | ||
+ | <jmolRadioGroup> | ||
+ | <item> | ||
+ | <checked> true </checked> | ||
+ | <script>sync jmolAppletA,jmolAppletB</script> | ||
+ | <text>Synchronize All</text> | ||
+ | </item> | ||
+ | <item> | ||
+ | <script>sync* "background pink"</script> | ||
+ | <text>Pink background for all applets</text> | ||
+ | </item> | ||
+ | <item> | ||
+ | <script>sync* "background white"</script> | ||
+ | <text>We go from pink to white again</text> | ||
+ | </item> | ||
+ | <item> | ||
+ | <script>sync* OFF</script> | ||
+ | <text>Turn of the sync please</text> | ||
+ | </item> | ||
+ | |||
+ | </jmolRadioGroup> | ||
+ | </jmol> | ||
+ | |||
+ | <jmol> | ||
+ | <jmolCheckbox> | ||
+ | <!--<target>A</target>--> | ||
+ | <scriptWhenChecked>sync jmolAppletB,jmolAppletC</scriptWhenChecked> | ||
+ | <scriptWhenUnchecked>sync OFF</scriptWhenUnchecked> | ||
+ | <checked>false</checked> | ||
+ | <text>Synchronize</text> | ||
+ | </jmolCheckbox> | ||
+ | </jmol> | ||
+ | |||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script>sync*</script> | ||
+ | <text>Synchronize</text> | ||
+ | </jmolLink> | ||
+ | </jmol> | ||
+ | |||
+ | <jmol> | ||
+ | <jmolButton> | ||
+ | <name>Button</name> | ||
+ | <script>sync*</script> | ||
+ | <text>Synchronize</text> | ||
+ | </jmolButton> | ||
+ | </jmol> | ||
+ | |||
Line 62: | Line 111: | ||
</item> | </item> | ||
</jmolMenu> | </jmolMenu> | ||
+ | </jmol> | ||
+ | |||
+ | <jmol> | ||
+ | <jmolMenu> | ||
+ | <item> | ||
+ | <script>sync*</script> | ||
+ | <text>Synchronize</text> | ||
+ | <checked>true</checked> | ||
+ | </item> | ||
+ | </jmolMenu> | ||
+ | </jmol> | ||
+ | |||
+ | <jmol> | ||
+ | <jmolApplet> | ||
+ | <color>white</color> | ||
+ | <uploadedFileContents>morph_a-b.pdb</uploadedFileContents> | ||
+ | <script>animation mode PALINDROME;animation ON </script> | ||
+ | </jmolApplet> | ||
</jmol> | </jmol> |
Current revision
|
|
|
|
![]() |
Drag the structure with the mouse to rotate |