User:Wayne Decatur/Sandbox JmolBackgroundImageTest: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Wayne Decatur (talk | contribs)
mNo edit summary
Wayne Decatur (talk | contribs)
mNo edit summary
Line 15: Line 15:


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 NOTHING IN BETWEENbackground image on/off test</text>
</jmolCheckbox>
</jmol>