Quickboxes 1.11

Quickboxes is a MooTools-based class that allows users to click down on a checkbox and drag their mouse over other checkboxes to check or uncheck numerous checkboxes within one click.



Details

Author
David Walsh
Current version
1.11
GitHub
darkwing/Quickboxes
Downloads
6053
Category
Interface
Tags
Report
GitHub Issues

Releases


Dependencies

  • core/1.2.1: *

How to use

Quickboxes can be initialized at any time but is generally initialized at the top of the document during the page's normal load. There are no required arguments -- only options.

HTML

<input type="checkbox" name="checkboxes[]" class="unchecked" checked="checked" id="unchecked1" /> <label for="unchecked1">Item 1</label><br />
<input type="checkbox" name="checkboxes[]" class="unchecked" checked="checked" id="unchecked2" /> <label for="unchecked2">Item 2</label><br />
<input type="checkbox" name="checkboxes[]" class="unchecked" checked="checked" id="unchecked3" /> <label for="unchecked3">Item 3</label><br />
<input type="checkbox" name="checkboxes[]" class="unchecked" checked="checked" id="unchecked4" /> <label for="unchecked4">Item 4</label><br />
<input type="checkbox" name="checkboxes[]" class="unchecked" checked="checked" id="unchecked5" /> <label for="unchecked5">Item 5</label><br />
<input type="checkbox" name="checkboxes[]" class="unchecked" checked="checked" id="unchecked6" /> <label for="unchecked6">Item 6</label><br />

Javascript

var unchecked = new dwCheckboxes({ 
    elements: $$('.unchecked'), 
    mode: 'uncheck' 
});

For specific usage and options, please read the documentation or visit http://davidwalsh.name/js/quickboxes


Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus