Commit graph

8 commits

Author SHA1 Message Date
scottjehl
92c49bf97e extended slider to support simple toggle switches based on select menus.
The logic will actually support multi-option selects as well, but the labels are flipped in order for switch-style controls, so if we want to support regular sliders from selects, the labels will have to be in forward order and beneath the slider bar.
2010-09-23 12:51:23 -04:00
jzaefferer
037729415c Refactored slider code a bit, just a first pass. 2010-09-21 23:31:25 +02:00
scottjehl
8b5a1b0a1f moved the percent fixer logic out of the if/else 2010-09-21 16:45:45 -04:00
scottjehl
e6707af667 added aria support 2010-09-21 16:43:07 -04:00
scottjehl
3b7a717e92 more updates to slider css and js. Should have itemized commits, but this thing's still in first-pass status. 2010-09-21 16:07:23 -04:00
scottjehl
9ec0823443 needed to pass the event arg 2010-09-21 15:33:51 -04:00
scottjehl
8e3aa35931 return clicks false on handle 2010-09-21 15:32:35 -04:00
scottjehl
4992d7b168 First pass at a simple slider plugin. Can be called on an input element with data-role="slider". Controls communicate both ways during use. 2010-09-21 15:25:23 -04:00