jQuery Mobile in the examples - <div data_role="slider">
<div data_role="slider">
<div data_role="slider">
<!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">
<input type="range" name="slider-12" id="slider-12" min="0" max="100" value="50">
</form>
</div>
<div data-role="footer" data-position="fixed"><H1>Footer</H1></div>
</div>
</body>
</html>
Pobierz kod
<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>
<label for="slider-1">Slider</label>
<input type="range" name="slider-1" id="slider-1" min="0" max="100" value="50">
<label for="slider-10">Slider z skokiem</label>
<input type="range" name="slider-10" id="slider-10" min="0" max="10" step=".1" value="5">
<label for="slider-2">Slider powietlony</label>
<input type="range" name="slider-2" id="slider-2" data-highlight="true" min="0" max="100" value="50">
<label for="slider-4">Slider mini</label>
<input type="range" name="slider-4" id="slider-4" data-mini="true" min="0" max="100" value="50">
<label for="slider-12" class="ui-hidden-accessible">Slider bez okienka</label><label for="slider-1">Slider</label>
<input type="range" name="slider-1" id="slider-1" min="0" max="100" value="50">
<label for="slider-10">Slider z skokiem</label>
<input type="range" name="slider-10" id="slider-10" min="0" max="10" step=".1" value="5">
<label for="slider-2">Slider powietlony</label>
<input type="range" name="slider-2" id="slider-2" data-highlight="true" min="0" max="100" value="50">
<label for="slider-4">Slider mini</label>
<input type="range" name="slider-4" id="slider-4" data-mini="true" min="0" max="100" value="50">
<input type="range" name="slider-12" id="slider-12" min="0" max="100" value="50">
</form>
</div>
<div data-role="footer" data-position="fixed"><H1>Footer</H1></div>
</div>
</body>
</html>