You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for writing this. I have one additional feature I would like to integrate: for altField, I modified the code so that if the selected color is darker, the text value will show up lighter and if the selected color is lighter, the text will show up darker. I do this by utilizing a CSS class on my altField; if the selected color is above a certain threshold it adds the class colorPickerLight and if not it removes it. I renamed the attachment to .txt so github would accept it. jquery.colorpicker.txt
First, thanks for writing this. I have one additional feature I would like to integrate: for altField, I modified the code so that if the selected color is darker, the text value will show up lighter and if the selected color is lighter, the text will show up darker. I do this by utilizing a CSS class on my altField; if the selected color is above a certain threshold it adds the class colorPickerLight and if not it removes it. I renamed the attachment to .txt so github would accept it.
jquery.colorpicker.txt
CSS:
Javascript:
HTML:
<input type="text" class="colorPicker" id="firstColorPicker" value="#ff6a6a" readonly="readonly" />
jquery.colorpicker.txt
The text was updated successfully, but these errors were encountered: