User:Wayne Decatur/Sandbox JmolBackgroundImageTest: Difference between revisions

Wayne Decatur (talk | contribs)
mNo edit summary
Wayne Decatur (talk | contribs)
mNo edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:Lrrapplet1}}
{{Template:Lrrapplet1}}


<!-- 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> TO MAKE UNCHECKED SEEMED ONLY WAY IS TO DELETE or HIDE THIS LINE-->
  <text>background image on/off test</text>
</jmolCheckbox>
</jmol>
Testing using Jmol's background image and 'set echo image' command, as described in [http://chemapps.stolaf.edu/jmol/docs/examples-11/new6.htm?topic=62 topic 62 here], 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.






<br>&nbsp;
<!-- 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 -->
<!-- checkboxes are now functional, since the update to the extension on 14 May 09 -->
Line 13: Line 48:
   <scriptWhenChecked>background IMAGE "/wiki/images/7/7e/Kt-7_cornflowerblue_and_jmol_chain_h_color.png";</scriptWhenChecked>
   <scriptWhenChecked>background IMAGE "/wiki/images/7/7e/Kt-7_cornflowerblue_and_jmol_chain_h_color.png";</scriptWhenChecked>
   <scriptWhenUnchecked>background IMAGE none;</scriptWhenUnchecked>
   <scriptWhenUnchecked>background IMAGE none;</scriptWhenUnchecked>
   <checked>FALSE</checked>
   <checked></checked>
   <text>background image on/off test</text>
   <text>CHECKED WITH NOTHING IN BETWEEN GOES TO FALSEbackground image on/off test</text>
  </jmolCheckbox>
  </jmolCheckbox>
</jmol>
</jmol>


Testing using Jmol's background image and 'set echo image' command from within Proteopedia
==See Also==
* [[User:Wayne Decatur/Sandbox JmolBackgroundImageTest]]