forked from rsmdt/jquery.multiSelect
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
41 lines (29 loc) · 2.14 KB
/
README
File metadata and controls
41 lines (29 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
jQuery multiSelect
Version 1.0.2 beta
Cory S.N. LaViska
A Beautiful Site (http://abeautifulsite.net/)
10 May 2009
Visit http://abeautifulsite.net/notebook.php?article=62 for more information
Usage: $('#control_id').multiSelect( options, callback )
Options: selectAll - whether or not to display the Select All option; true/false, default = true
selectAllText - text to display for selecting/unselecting all options simultaneously
noneSelected - text to display when there are no selected items in the list
oneOrMoreSelected - text to display when there are one or more selected items in the list
(note: you can use % as a placeholder for the number of items selected).
Use * to show a comma separated list of all selected; default = '% selected'
focusTimeout - time until the expanded options disappear after losing focus;
false will define that there is no timeout at all and the box will not disappear
unless you click outside; default = 250
showConfirmation - lets you define whether or not to display a confirmation link
below the select options; 'OK', 'Close', default = false
Dependencies: jQuery 1.2.6 or higher (http://jquery.com/)
Change Log:
1.0.1 - Updated to work with jQuery 1.2.6+ (no longer requires the dimensions plugin)
- Changed $(this).offset() to $(this).position(), per James' and Jono's suggestions
1.0.2 - Fixed issue where dropdown doesn't scroll up/down with keyboard shortcuts
- Changed '$' in setTimeout to use 'jQuery' to support jQuery.noConflict
- Renamed from jqueryMultiSelect.* to jquery.multiSelect.* per the standard recommended at
http://docs.jquery.com/Plugins/Authoring (does not affect API methods)
Licensing & Terms of Use
This plugin is dual-licensed under the GNU General Public License and the MIT License and
is copyright 2008 A Beautiful Site, LLC.