jQuery Color ** Swatch ** Picker [英] jQuery Color **Swatch** Picker
问题描述
有没有人编写过jQuery查询颜色选择器,可以从预定的颜色列表中选择颜色?类似于电子商务网站上的产品颜色选择器。
Has anyone coded up a jQuery query color picker that lets you pick colors from a predetermined list of colors? Something like a product color picker on an Ecommerce site.
我所做的大多数搜索都揭示了很多通用的,挑选任意颜色的-rgb-spectrum,但选择特定颜色的选项很少。
Most of the searching I've done reveals a lot of general purpose, pick-any-color-in-the-rgb-spectrum, but few options for picking specific colors.
推荐答案
真正简单的颜色选择器,它允许您设置预定义的颜色(我是英国人:-P)。它允许您使用输入框更改颜色,但如果您只想要预定义颜色,则可以使用快速jQuery命令禁用它。
There's Really Simple Color Picker which allows you to set predefined colours (I'm British :-P). It does allow you to change the colour with an input box, but a quick jQuery command would allow you to disable it if you wanted predefined colours only.
这篇关于jQuery Color ** Swatch ** Picker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!