Turn your boring checkboxes and radio buttons into awesome sauce!
This plugin turns
<input type="checkbox" name="checkbox[]" value="example" />into
<div class="checkbox" data-value="checkbox 5" data-field="checkbox[]"> <span></span> checkbox 5 </div> <input type="hidden" name="checkbox[]" value="">
You can style the span how you want it!
Look inside the js folder to find customcheckbox.min.js and load both of these files. Load jQuery first.
<script src="js/jquery.min.js"></script> <script src="js/customcheckbox.min.js"></script>
Look inside the css folder to find customcheckbox.css and load it.
<link href="css/customcheckbox.css" rel="stylesheet" type="text/css" />
//Style the Radio Button customCheckboxes(); //Style the Radio Button customRadios();