ah yes, that works. still, it should avoid throwing a JS error that prevents later commands from being executed.
________________________________ From: Paul Pillot <paul.pil...@ac-orleans-tours.fr> Reply-To: <jmol-users@lists.sourceforge.net> Date: Thu, 14 Jan 2010 14:08:22 -0500 To: <jmol-users@lists.sourceforge.net> Conversation: [Jmol-users] background color JS error Subject: Re: [Jmol-users] background color JS error What about "background white" ? Jmol does accept js color names. Paul Le 14 janv. 2010 à 19:41, Grossman, Robert B a écrit : > 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 ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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