manyToMany: A Many to Many Selector
This construction is used to make and order a selection from a list of options. The classnames on the elements indicate what the desired source and destination-lists are.
The arrows in this example are used to move elements from one list to the other and to change their order. Clicking on the select-elements themselves also moves items from one list to the other.
The example below merely allows the ordering of a selection, the rest of the elements are simply removed.
Because none of the buttons or lists are dependent on each other, any element can be removed to make variations in the functionality.
Required Files
-
jQuery Addon Script: jquery.classbehaviours.manytomany.js
- Prerequisite Script: jquery.classbehaviours.js
- Example Markup: manyToMany.html
- Example Stylesheet: manyToMany.css
Comments on this Article