I’ve just started using jquery plugins and I can’t find a good resource on how to use the configurable options. I’d like to use this color picker but change it so that transparent isn’t an option. In the comments it says: // $.fn.mColorPicker.init.allowTransparency - Turn off transperancy as a color option. but I don’t know how or when I’m supposed to be using that line. Is there someplace that explains this?
I’ve just started using jquery plugins and I can’t find a good resource on
Share
You can set that option any time after jQuery and the plugin are loaded (say, in a document ready handler), and before calling
$('whatever').mColorPicker().