jQuery Mobile in the examples - <div data_role="rangeslider">

<div data_role="rangeslider">

<div data_role="rangeslider">

<!DOCTYPE html>
<html>
<head>
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.css" />
   <script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
   <script src="https://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.js"></script>
</head>
<body>
<div data-role="page">
   <div data-role="header" data-position="fixed"><H1>Header</H1></div>
   <div role="main" class="ui-content">
      <form>
         <div data-role="rangeslider">
            <label for="range-1a">Rangeslider:</label>
            <input type="range" name="range-1a" id="range-1a" min="0" max="100" value="40">
            <label for="range-1b">Rangeslider:</label>
            <input type="range" name="range-1b" id="range-1b" min="0" max="100" value="80">
         </div>
         <div data-role="rangeslider">
            <label for="range-10a">Rangeslider:</label>
            <input type="range" name="range-10a" id="range-10a" min="0" max="10" step=".1" value="2.6">
            <label for="range-10b">Rangeslider:</label>
            <input type="range" name="range-10b" id="range-10b" min="0" max="10" step=".1" value="5.4">
         </div>
         <div data-role="rangeslider" data-highlight="false">
            <label for="range-2a">Rangeslider bez podswielenia</label>
            <input type="range" name="range-2a" id="range-2a" min="0" max="100" value="20">
            <label for="range-2b">Rangeslider:</label>
            <input type="range" name="range-2b" id="range-2b" min="0" max="100" value="80">
         </div>
         <div data-role="rangeslider" data-mini="true">
            <label for="range-4a">Rangeslider mini</label>
            <input type="range" name="range-4a" id="range-4a" min="0" max="100" value="0">
            <label for="range-4b">Rangeslider:</label>
            <input type="range" name="range-4b" id="range-4b" min="0" max="100" value="100">
         </div>
      </form>
   </div>
   <div data-role="footer" data-position="fixed"><H1>Footer</H1></div>
</div>
</body>
</html>
Pobierz kod