When I sent the script "background [white]" to Jmol, it not only failed to run, but it prevented further execution of Javascript commands. I suggest that you accept JS names for colors, but even if you don't, I suggest that you avoid throwing JS errors by checking that the value is in an acceptable format.
------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users