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.


> jmolColorPickerBox(colorScript, '[100,100,100]');

Here you need to remove the quotes. The 2nd parameter must be a javascript 
array:
jmolColorPickerBox(colorScript, [100,100,100]);

(this is the piece that was wrong in the doc)

If that fails, get the updated version from
http://jmol.svn.sourceforge.net/viewvc/jmol/trunk/Jmol/src/org/openscience/jmol/app/webexp
ort/html/JmolColorPicker.js




------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to