首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > jQuery的一个颜色选择器

jQuery的一个颜色选择器

  • 资源大小:19.64 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: jquery 选择 一个 颜色

资 源 简 介

Apply to an input box to get a colour picker, pure javascript no graphics required. Requires | jQuery | http://jquery.com | |:-------|:------------------| Pros No graphics required Configurable number of colour choices Kinda cool looking (in the eye of this beholder anyway) Cons More than 15 cells can be a bit slow in IE6 Less accurate than a continuous colour map Usage You can create a colour picker in one of two ways 1) Select your controls with jQuery and call colorInput(options) on the jquery var $input = $("input").colorInput({cells:11}); This will create a colorInput on each input with a grid of 11x11 color cells 2) Call the function on the jQuery object colorInput(input[, options]) var colorControl = $.colorInput(document.getElementById("myInput"), {cell

文 件 列 表

jQuery.colorInput
.svn
jquery.colorInput-min.js
jquery.colorInput.js
jquery.colorInput.test.htm
VIP VIP
0.191300s