From: Angel H. <ang...@ua...> - 2010-07-19 17:20:57
|
Jonathan, there is an error in the instructions on that web page http://www.uwosh.edu/faculty_staff/gutow/Jmol_Web_Page_Maker/JmolColorPicker/Jmol%2 0Color%20Picker%20Test.html it says Usage Where ever you want a popup color picker box include a script like <script type="text/javascript"> var scriptStr2 = 'select carbon; color atom $COLOR$;'; jmolColorPickerBox(scriptStr2, "rgb(100,100,100)", "colorBox1", "0"); </script> But the correct syntax for the second argument is [100,100,100] I think it would be nice to accept also strings in the form "#RRGGBB". Opinions? |