Hello,
I have got another problem this time. I wanted to select all equatorial
atoms of cyclohexane and all equatorial via checkboxes. I tried it with this
source code:

<script>
jmolCheckbox("select elemNo=1; color lime;", "select *; color cpk;",
"Highlight an equatorial H atom");
</script>
<br/>

   <script>
jmolCheckbox("select atomno=7,10,11,13,16,18; color lime;", "select
atomno=7,10,11,13,16,18; color cpk;", "highlight equatorial H-Atoms");
</script>
<br/>

   <script>
jmolCheckbox("select atomNo=17; color red;", "select *; color cpk;",
"Highlight an axial H atom");
</script>
<br/>

   <script>
jmolCheckbox("select atomNo=4,8,11,17,14,6; color red;", "select
atomno=4,8,11,17,14,6; color cpk;", "Highlight all 6 axial H atoms");
</script>
<br/>

   <script>
jmolCheckbox("select elemNo=6; color yellow;", "select *; color cpk;",
"Highlight carbon skeleton");
</script>
<br/>

While the first command works the second and the fourth do not. The third
works as well (so as long as I am selection one atom only!).  Has anybody an
explanation for this. If I tick the checkbox e.g. for the second command it
only highlights atomNo 7 ? Any advices 
Best regards
Maurice 


------------------------------------------------------------------------------

_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to