Jquery Two Sided Multi Selector
My jQuery plugins were created either as experiments or to fulfil some need that I had on a project. I made the plugins available for free on this website - and you can still get them all here now.
I no longer actively support the jQuery plugins for the following reasons...
- Many of the features can now be achieved without JavaScript using new features of HTML and CSS
- Some of the features probably shouldn't even have been used, they were just experiments!
- Not everyone wants to use jQuery - I will create stand alone plugins for the popular stuff that don't enforce any particular framework
Quick Links
Visit the jQuery Two-Sided Multi-Selector project hub, which has a demonstration and download for this plugin on JS Plugins JavaScript Plugin Library.
Two-Sided Multi-Selector Demonstration.
Description
The jQuery Two-Sided Multi-Selector project is a plugin for the jQuery JavaScript Framework, which converts a multi-select select-list into a two-sided list, where the selected options can be moved from the left list into the right list and back again.
Requirements
CSS
/* Recommended styles */
.tsmsselect {
width: 40%;
float: left;
}
.tsmsselect select {
width: 100%;
}
.tsmsoptions {
width: 20%;
float: left;
}
.tsmsoptions p {
margin: 2px;
text-align: center;
font-size: larger;
cursor: pointer;
}
.tsmsoptions p:hover {
color: White;
background-color: Silver;
}
JavaScript
$(".multiselect").twosidedmultiselect();