Re: [Jmol-users] error with jmolColorPickerBox

2010-08-16 Thread P . Canepa
-9756456 --- From: Jonathan Gutow [gu...@uwosh.edu] Sent: Sunday, August 15, 2010 4:28 PM To: jmol-users@lists.sourceforge.net Subject: Re: [Jmol-users] error with jmolColorPickerBox Angel, I think Piero

Re: [Jmol-users] error with jmolColorPickerBox

2010-08-15 Thread Jonathan Gutow
From: Angel Herr?ez angel.herr...@uah.es Subject: Re: [Jmol-users] error with jmolColorPickerBox To: jmol-users@lists.sourceforge.net Message-ID: 4c66608d.23204.5593...@angel.herraez.uah.es Content-Type: text/plain; charset=us-ascii Piero, I think your problem may have originated in some

Re: [Jmol-users] error with jmolColorPickerBox

2010-08-15 Thread Herráez Sánchez Ángel
Jonathan wrote: I think Piero and I straightened this out. Piero, correct me if I'm wrong...:). Angel is correct that the second array must be a JavaScript array, not a string. Ah, OK I knew there had been such changes, but not sure what they consisted on. So that afects the first

Re: [Jmol-users] error with jmolColorPickerBox

2010-08-14 Thread Angel Herráez
Piero, I think your problem may have originated in some mismatch that existed between instructions and the actual functions in JmolColorPicker.js. var colorScript = [setAtomColor, 'atomColor']; I'm not sure why you have that. it should be a string with a Jmol script, not an array.

[Jmol-users] error with jmolColorPickerBox

2010-08-12 Thread P . Canepa
Dear all, On firefox this script works, even though I get an error like Warning: Expected number or percentage in rgb() but found '['. Error in parsing value for 'background'. Declaration dropped. Source File: Line: 0 var colorScript = [setAtomColor, 'atomColor'];

Re: [Jmol-users] error with jmolColorPickerBox

2010-08-12 Thread Angel Herráez
Hi Piero I think I know where the problem may be, but it will help if you can specify precisely which version of jmolColorPickerBox.js you are sing --where did you get it and when -- This SF.net email is sponsored