所属分类:标签

超棒的页面checkbox和radio美化jQuery类库 - iCheckbox

46265 浏览 360 收藏 2 留言
ie兼容8

插件描述

iCheckbox是一个超棒的界面美化Javascript类库。

更新时间
2015-07-10 10:30
下载量
3152
所需 JQ 币
0
分类
UI / 标签

详细内容

iCheckbox是一个超棒的界面美化Javascript类库。


主要特性


跨浏览器和设备统一的input样式和UI(包括了桌面和移动设备)

支持触摸设备 - iOS,android,blackberry,windows phone

支持键盘控制 - Tab,空格,方向键和其它快捷方式

完全自定义 - 使用任何HTML和CSS来控制输入的样式

轻量级 - 1kb

15个选项来自定义checkbox和radio

8个回调函数支持

6个方法来编程控制

支持任何jQuery的选择器

支持IE7+(如果不使用CSS chain也可以支持ie6),Chrome,Firefox和Safari等浏览器

支持移动浏览器(Opera mini, Chrome mobile, Safari mobile等),支持iOS, Android, BlackBerry and Windows Phone设备

使用步骤

// customize all inputs (will search for checkboxes and radio buttons)
$('input').iCheck();
 
// handle inputs only inside $('.block')
$('.block input').iCheck();
 
// handle only checkboxes inside $('.test')
$('.test input').iCheck({
  handle: 'checkbox'
});
 
// handle .vote class elements (will search inside the element, if it's not an input)
$('.vote').iCheck();
 
// you can also change options after inputs are customized
$('input.some').iCheck({
  // different options
});

关键词:多选框美化,界面美化,Javascript类库,iCheck

讨论这个项目 (2)

J.J
不错的效果
魔界小鸟
很不错,兼容性也很好啊,要是支持input,或者其它表单元素就强大了!

当前页面为只读展示,仅显示已审核留言;提交留言功能暂未开放。