Chris,
This is an example of the code generated by JSmol for the menu:
<span id="span_jmolMenu0">
<select name="jmolMenu0" id="jmolMenu0"
onchange="Jmol.controls._menuSelected(this)">
<option value="1">spacefill</option>
<option value="2">ball & stick</option>
</select>
</span>
So it bot using the value of the options to store the scripts, that's why you
approach is not
working
Maybe it will be easier if you create the menu yourself and attach a function
that will run Jmol
scripts provided as value or as you prefer
---
Este mensaje no contiene virus ni malware porque la protección de avast!
Antivirus está activa.
http://www.avast.com
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users