User:Wayne Decatur/Sandbox JmolBackgroundImageTest

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
m
m
Line 5: Line 5:
<jmol>
<jmol>
<jmolCheckbox>
<jmolCheckbox>
-
<scriptWhenChecked>set echo logo [0 0];background echo red; set echo logo image "/wiki/images/7/73/Proteopedia_85x85_smaller_logo.png";</scriptWhenChecked>
+
<scriptWhenChecked>background IMAGE "/wiki/images/7/7e/Kt-7_cornflowerblue_and_jmol_chain_h_color.png";</scriptWhenChecked>
-
<scriptWhenUnchecked>set echo logo off;</scriptWhenUnchecked>
+
<scriptWhenUnchecked>background IMAGE none;</scriptWhenUnchecked>
<!--<checked></checked> TO MAKE UNCHECKED SEEMED ONLY WAY IS TO DELETE or HIDE THIS LINE-->
<!--<checked></checked> TO MAKE UNCHECKED SEEMED ONLY WAY IS TO DELETE or HIDE THIS LINE-->
<text>background image on/off test</text>
<text>background image on/off test</text>
Line 12: Line 12:
</jmol>
</jmol>
-
Testing using Jmol's 'set echo image' command from within Proteopedia
+
Testing using Jmol's background image and 'set echo image' command from within Proteopedia
To figure out file name I used [[Proteopedia:Cookbook]] under the FLASH example section and used "View image info" from right clicking on image to get path on wiki like in the FLASH example.
To figure out file name I used [[Proteopedia:Cookbook]] under the FLASH example section and used "View image info" from right clicking on image to get path on wiki like in the FLASH example.
 +
 +
 +
 +
<!-- checkboxes are now functional, since the update to the extension on 14 May 09 -->
 +
<!-- see http://wiki.jmol.org/index.php/MediaWiki, especially bottom for all parameters-->
 +
<jmol>
 +
<jmolCheckbox>
 +
<scriptWhenChecked>background IMAGE "/wiki/images/7/7e/Kt-7_cornflowerblue_and_jmol_chain_h_color.png";</scriptWhenChecked>
 +
<scriptWhenUnchecked>background IMAGE none;</scriptWhenUnchecked>
 +
<checked>false</checked>
 +
<text>CHECKED SET AS FALSE background image on/off test</text>
 +
</jmolCheckbox>
 +
</jmol>
 +
 +
 +
 +
<!-- checkboxes are now functional, since the update to the extension on 14 May 09 -->
 +
<!-- see http://wiki.jmol.org/index.php/MediaWiki, especially bottom for all parameters-->
 +
<jmol>
 +
<jmolCheckbox>
 +
<scriptWhenChecked>background IMAGE "/wiki/images/7/7e/Kt-7_cornflowerblue_and_jmol_chain_h_color.png";</scriptWhenChecked>
 +
<scriptWhenUnchecked>background IMAGE none;</scriptWhenUnchecked>
 +
<checked> </checked>
 +
<text>CHECKED WITH SPACE IN BETWEENbackground image on/off test</text>
 +
</jmolCheckbox>
 +
</jmol>
 +
 +
<!-- checkboxes are now functional, since the update to the extension on 14 May 09 -->
 +
<!-- see http://wiki.jmol.org/index.php/MediaWiki, especially bottom for all parameters-->
 +
<jmol>
 +
<jmolCheckbox>
 +
<scriptWhenChecked>background IMAGE "/wiki/images/7/7e/Kt-7_cornflowerblue_and_jmol_chain_h_color.png";</scriptWhenChecked>
 +
<scriptWhenUnchecked>background IMAGE none;</scriptWhenUnchecked>
 +
<checked></checked>
 +
<text>CHECKED WITH NOTHING IN BETWEEN GOES TO FALSEbackground image on/off test</text>
 +
</jmolCheckbox>
 +
</jmol>

Revision as of 23:17, 2 April 2011

 

Drag the structure with the mouse to rotate
Lamprey Variable Lymphocyte Receptor bound to a trisaccharide antigen (3e6j), resolution 1.67Å


Testing using Jmol's background image and 'set echo image' command from within Proteopedia

To figure out file name I used Proteopedia:Cookbook under the FLASH example section and used "View image info" from right clicking on image to get path on wiki like in the FLASH example.



Proteopedia Page Contributors and Editors (what is this?)

Wayne Decatur

Personal tools