$('#input-1, #input-3').iCheck('check');
$('#input-1, #input-3').iCheck('uncheck');
$('#input-2, #input-4').iCheck('disable');
$('#input-2, #input-4').iCheck('enable');
$('input').iCheck('destroy');
For Zepto library, instead of jquery.icheck.js use zepto.icheck.js.
If you need a minified version, use jquery.icheck.min.js or zepto.icheck.min.js.
Insert before </head> in your HTML (replace your-path and color-scheme):
<link href="your-path/minimal/color-scheme.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Example for a Red color scheme:
<link href="your-path/minimal/red.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Add some checkboxes and radio buttons to your HTML:
<input type="checkbox"> <input type="checkbox" checked> <input type="radio" name="iCheck"> <input type="radio" name="iCheck" checked>
Add JavaScript to your HTML to launch iCheck plugin:
<script>
$(document).ready(function(){
$('input').iCheck({
checkboxClass: 'icheckbox_minimal',
radioClass: 'iradio_minimal',
increaseArea: '20%' // optional
});
});
</script>
For different from black color schemes use this code (example for Red):
<script>
$(document).ready(function(){
$('input').iCheck({
checkboxClass: 'icheckbox_minimal-red',
radioClass: 'iradio_minimal-red',
increaseArea: '20%' // optional
});
});
</script>
For Zepto library, instead of jquery.icheck.js use zepto.icheck.js.
If you need a minified version, use jquery.icheck.min.js or zepto.icheck.min.js.
Insert before </head> in your HTML (replace your-path and color-scheme):
<link href="your-path/square/color-scheme.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Example for a Red color scheme:
<link href="your-path/square/red.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Add some checkboxes and radio buttons to your HTML:
<input type="checkbox"> <input type="checkbox" checked> <input type="radio" name="iCheck"> <input type="radio" name="iCheck" checked>
Add JavaScript to your HTML to launch iCheck plugin:
<script>
$(document).ready(function(){
$('input').iCheck({
checkboxClass: 'icheckbox_square',
radioClass: 'iradio_square',
increaseArea: '20%' // optional
});
});
</script>
For different from black color schemes use this code (example for Red):
<script>
$(document).ready(function(){
$('input').iCheck({
checkboxClass: 'icheckbox_square-red',
radioClass: 'iradio_square-red',
increaseArea: '20%' // optional
});
});
</script>
For Zepto library, instead of jquery.icheck.js use zepto.icheck.js.
If you need a minified version, use jquery.icheck.min.js or zepto.icheck.min.js.
Insert before </head> in your HTML (replace your-path and color-scheme):
<link href="your-path/flat/color-scheme.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Example for a Red color scheme:
<link href="your-path/flat/red.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Add some checkboxes and radio buttons to your HTML:
<input type="checkbox"> <input type="checkbox" checked> <input type="radio" name="iCheck"> <input type="radio" name="iCheck" checked>
Add JavaScript to your HTML to launch iCheck plugin:
<script> $(document).ready(function(){ $('input').iCheck({ checkboxClass: 'icheckbox_flat', radioClass: 'iradio_flat' }); }); </script>
For different from black color schemes use this code (example for Red):
<script> $(document).ready(function(){ $('input').iCheck({ checkboxClass: 'icheckbox_flat-red', radioClass: 'iradio_flat-red' }); }); </script>
For Zepto library, instead of jquery.icheck.js use zepto.icheck.js.
If you need a minified version, use jquery.icheck.min.js or zepto.icheck.min.js.
Insert before </head> in your HTML (replace your-path and color-scheme):
<link href="your-path/line/color-scheme.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Example for a Red color scheme:
<link href="your-path/line/red.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Add some checkboxes, radio buttons and labels to your HTML:
<input type="checkbox"> <label>Checkbox 1</label> <input type="checkbox" checked> <label>Checkbox 2</label> <input type="radio" name="iCheck"> <label>Radio button 1</label> <input type="radio" name="iCheck" checked> <label>Radio button 2</label>
Add JavaScript to your HTML to launch iCheck plugin:
<script> $(document).ready(function(){ $('input').each(function(){ var self = $(this), label = self.next(), label_text = label.text(); label.remove(); self.iCheck({ checkboxClass: 'icheckbox_line', radioClass: 'iradio_line', insert: '<div class="icheck_line-icon"></div>' + label_text }); }); }); </script>
For different from black color schemes use this code (example for Red):
<script> $(document).ready(function(){ $('input').each(function(){ var self = $(this), label = self.next(), label_text = label.text(); label.remove(); self.iCheck({ checkboxClass: 'icheckbox_line-red', radioClass: 'iradio_line-red', insert: '<div class="icheck_line-icon"></div>' + label_text }); }); }); </script>
For Zepto library, instead of jquery.icheck.js use zepto.icheck.js.
If you need a minified version, use jquery.icheck.min.js or zepto.icheck.min.js.
Insert before </head> in your HTML (replace your-path and color-scheme):
<link href="your-path/polaris/polaris.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Add some checkboxes and radio buttons to your HTML:
<input type="checkbox"> <input type="checkbox" checked> <input type="radio" name="iCheck"> <input type="radio" name="iCheck" checked>
Add JavaScript to your HTML to launch iCheck plugin:
<script>
$(document).ready(function(){
$('input').iCheck({
checkboxClass: 'icheckbox_polaris',
radioClass: 'iradio_polaris',
increaseArea: '-10' // optional
});
});
</script>
For Zepto library, instead of jquery.icheck.js use zepto.icheck.js.
If you need a minified version, use jquery.icheck.min.js or zepto.icheck.min.js.
Insert before </head> in your HTML (replace your-path and color-scheme):
<link href="your-path/futurico/futurico.css" rel="stylesheet"> <script src="your-path/jquery.icheck.js"></script>
Add some checkboxes and radio buttons to your HTML:
<input type="checkbox"> <input type="checkbox" checked> <input type="radio" name="iCheck"> <input type="radio" name="iCheck" checked>
Add JavaScript to your HTML to launch iCheck plugin:
<script>
$(document).ready(function(){
$('input').iCheck({
checkboxClass: 'icheckbox_futurico',
radioClass: 'iradio_futurico',
increaseArea: '20%' // optional
});
});
</script>