5 <title>jQuery UI Slider - Multiple sliders</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 height:120px; float:left; margin:15px
20 // setup master volume
21 $( "#master" ).slider({
23 orientation: "horizontal",
28 $( "#eq > span" ).each(function() {
29 // read initial values from markup and remove that
30 var value = parseInt( $( this ).text(), 10 );
31 $( this ).empty().slider({
35 orientation: "vertical"
43 <p class="ui-state-default ui-corner-all ui-helper-clearfix" style="padding:4px;">
44 <span class="ui-icon ui-icon-volume-on" style="float:left; margin:-2px 5px 0 0;"></span>
48 <div id="master" style="width:260px; margin:15px;"></div>
50 <p class="ui-state-default ui-corner-all" style="padding:4px;margin-top:4em;">
51 <span class="ui-icon ui-icon-signal" style="float:left; margin:-2px 5px 0 0;"></span>
65 <div class="demo-description">
66 <p>Combine horizontal and vertical sliders, each with their own options, to create the UI for a music player.</p>