diff options
author | Snehalatha Kaliappan | 2022-05-31 12:50:38 +0530 |
---|---|---|
committer | Snehalatha Kaliappan | 2022-05-31 12:50:38 +0530 |
commit | 45552d87a6569bb8832517c9cee630f11456ced4 (patch) | |
tree | 8694acf6db3ad7d7d832a6adb0c61ae258af15ae | |
parent | 56ce3f631bfcfd21803fe8cc2c0c6af6295f360a (diff) | |
download | soul_jsmol-45552d87a6569bb8832517c9cee630f11456ced4.tar.gz soul_jsmol-45552d87a6569bb8832517c9cee630f11456ced4.tar.bz2 soul_jsmol-45552d87a6569bb8832517c9cee630f11456ced4.zip |
Added and modified buttons
-rw-r--r-- | Dichloroethane.html | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/Dichloroethane.html b/Dichloroethane.html index a346c5a..2706d74 100644 --- a/Dichloroethane.html +++ b/Dichloroethane.html @@ -62,18 +62,19 @@ </div> <div> <script> - Jmol.jmolRadioGroup(a_myJmol, [ - ["spacefill off", "off"], + Jmol.jmolRadioGroup(a_myJmol, [ + ["background black", "black background"], ["spacefill 23%", "23%", "checked"], - ["spacefill 100%", "100%"], - ["select connected(C2) and not C1; rotateSelected {C1} {C2} 120 10", "anticlinal"] + ["select connected(C2) and not C1; rotateSelected {C1} {C2} 120 10", "anticlinal"], + ["spacefill 100%", "100%"], + ["spacefill off", "off"] ]); </script> <span> </span> <script type="text/javascript">Jmol.jmolCheckbox(a_myJmol, "spin on", "spin off", "spin");</script> <span> </span> - <script>Jmol.jmolButton(a_myJmol, "reset", "Reset to original orientation");</script> + <script>Jmol.jmolButton(a_myJmol, "spacefill 23%; select connected(C2) and not C1; rotateSelected {C1} {C2} 240 30;", "Reset to original orientation");</script> </div> <div> </div> @@ -86,15 +87,16 @@ <div> <script> Jmol.jmolRadioGroup(b_myJmol, [ - ["spacefill off", "off"], + ["background black", "black background"], ["spacefill 23%", "23%", "checked"], - ["spacefill 100%", "100%"] + ["spacefill 100%", "100%"], + ["spacefill off", "off"] ]); </script> <span> </span> <script type="text/javascript">Jmol.jmolCheckbox(b_myJmol, "spin on", "spin off", "spin");</script> <span> </span> - <script>Jmol.jmolButton(b_myJmol, "reset", "Reset to original orientation");</script> + <script>Jmol.jmolButton(b_myJmol, "spacefill 23%", "Reset to original orientation");</script> </div> </div> <div class="p-2 desc" id="s3"> @@ -105,15 +107,16 @@ <div> <script> Jmol.jmolRadioGroup(c_myJmol, [ - ["spacefill off", "off"], + ["background black", "black background"], ["spacefill 23%", "23%", "checked"], - ["spacefill 100%", "100%"] + ["spacefill 100%", "100%"], + ["spacefill off", "off"] ]); </script> <span> </span> <script type="text/javascript">Jmol.jmolCheckbox(c_myJmol, "spin on", "spin off", "spin");</script> <span> </span> - <script>Jmol.jmolButton(c_myJmol, "reset", "Reset to original orientation");</script> + <script>Jmol.jmolButton(c_myJmol, "spacefill 23%", "Reset to original orientation");</script> </div> </div> </div> |