5 <title>jQuery UI Slider - Range with fixed minimum</title>
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7 <script src="../../jquery-1.9.1.js"></script>
8 <script src="../../ui/jquery.ui.core.js"></script>
9 <script src="../../ui/jquery.ui.widget.js"></script>
10 <script src="../../ui/jquery.ui.mouse.js"></script>
11 <script src="../../ui/jquery.ui.slider.js"></script>
12 <link rel="stylesheet" href="../demos.css">
15 $( "#slider-range-min" ).slider({
20 slide: function( event, ui ) {
21 $( "#amount" ).val( "$" + ui.value );
24 $( "#amount" ).val( "$" + $( "#slider-range-min" ).slider( "value" ) );
31 <label for="amount">Maximum price:</label>
32 <input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold;" />
35 <div id="slider-range-min"></div>
37 <div class="demo-description">
38 <p>Fix the minimum value of the range slider so that the user can only select a maximum. Set the <code>range</code> option to "min."</p>