没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > jquery-bltcheckbox |
|
jquery-bltcheckbox
|
| 1 | 0 | 7 |
| 贡献者 | 讨论 | 代码提交 |
Create custom checkboxes by simply defining css styles. This moves all of the presentation to css instead of relying on the jquery plugin to write html.
blt checkbox is VERY lightweight and cross browser friendly. Tested in IE6+, FF3+, Opera 9, Safari 3, Chrome.
How to useThe markup for custom checkboxes is fairly minimal. You must wrap your checkbox/radio inputs in an element. Checkbox/radio input elements must contain an id if you want one returned for use in callback functions.
ExamplesSingle checkbox
$(window).load(function(){
$('.checkbox_group1').bltCheckbox();
});
As Radio Buttons
$(window).load(function(){
$('.checkbox_group2').bltCheckbox({restricted:true});
});
Settingsvar default_settings = {
restricted: false,
checkedClass: 'checked'
标签:
