How to bind a slider to an existing select element. The select stays visible to display the change. When the select is changed, the slider is updated, too.
Change the orientation of the range slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."
Set the range option to true to capture a range of values with two drag handles. The space between the handles is filled with a different background color to indicate those values are selected.
-
diff --git a/demos/slider/rangemax.html b/demos/slider/rangemax.html
index b4f4e1e08d..c37d5d054d 100644
--- a/demos/slider/rangemax.html
+++ b/demos/slider/rangemax.html
@@ -1,30 +1,30 @@
-
+
jQuery UI Slider - Range with fixed maximum
-
-
-
-
-
-
-
-
-
@@ -33,17 +33,17 @@
-Minimum number of bedrooms:
-
+
+
+
+
-
Fix the maximum value of the range slider so that the user can only select a minimum. Set the range option to "max."
Use a slider to manipulate the positioning of content on the page. In this case, it acts as a scrollbar with the potential to capture values if needed.
Change the orientation of the slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."