Template:STRUCTURE 2hhdC
From Proteopedia
(Difference between revisions)
Line 19: | Line 19: | ||
<jmolButton> | <jmolButton> | ||
<script>if (consurf_A!=0); select:A; spacefill off;color translucent -1; | <script>if (consurf_A!=0); select:A; spacefill off;color translucent -1; | ||
- | consurf_A= 0;javascript | + | consurf_A= 0;javascript"document.getElementById('jmb_A').value='A [ ]'";else; select:A; spacefill on; color opaque;consurf_A = 1;javascript |
- | else; select:A; spacefill on; color opaque;consurf_A = 1;javascript | + | "document.getElementById('jmb_A').value='A [x]';"; endif;</script> |
- | "document.getElementById('jmb_A').value='A [x]';"; endif; | + | |
<text>A [ ]</text> | <text>A [ ]</text> | ||
<name>jmb_A</name> | <name>jmb_A</name> | ||
Line 29: | Line 28: | ||
<jmolButton> | <jmolButton> | ||
<script>if (consurf_C!=0); select:C; spacefill off;color translucent -1; | <script>if (consurf_C!=0); select:C; spacefill off;color translucent -1; | ||
- | consurf_C= 0;javascript | + | consurf_C= 0;javascript"document.getElementById('jmb_C').value='C [ ]'";else; select:C; spacefill on; color opaque;consurf_C = 1;javascript"document.getElementById('jmb_C').value='C [x]';";endif;</script> |
- | else; select:C; spacefill on; color opaque;consurf_C = 1;javascript | + | |
<text>C [ ]</text> | <text>C [ ]</text> | ||
<name>jmb_C</name> | <name>jmb_C</name> | ||
Line 39: | Line 37: | ||
<jmolButton> | <jmolButton> | ||
<script>if (consurf_B!=0); select:B; spacefill off;color translucent -1; | <script>if (consurf_B!=0); select:B; spacefill off;color translucent -1; | ||
- | consurf_B= 0;javascript | + | consurf_B= 0;javascript"document.getElementById('jmb_B').value='B [ ]'";else; select:B; spacefill on; color opaque;consurf_B = 1;javascript="document.getElementById('jmb_B').value='B [x]';"; endif;</script> |
- | else; select:B; spacefill on; color opaque;consurf_B = 1;javascript="document.getElementById('jmb_B').value='B [x]';"; endif; | + | |
<text>B [ ]</text> | <text>B [ ]</text> | ||
<name>jmb_B</name> | <name>jmb_B</name> | ||
Line 48: | Line 45: | ||
<jmolButton> | <jmolButton> | ||
<script>if (consurf_D!=0); select:D; spacefill off;color translucent -1; | <script>if (consurf_D!=0); select:D; spacefill off;color translucent -1; | ||
- | consurf_D= 0;javascript | + | consurf_D= 0;javascript"document.getElementById('jmb_D').value='D [ ]'";else; select:D; spacefill on; color opaque;consurf_D = 1;javascript"document.getElementById('jmb_D').value='D [x]';"; endif;</script> |
- | else; select:D; spacefill on; color opaque;consurf_D = 1;javascript | + | |
<text>D [ ]</text> | <text>D [ ]</text> | ||
<name>jmb_D</name> | <name>jmb_D</name> |
Revision as of 19:22, 11 August 2008
| |||||||||
|