Create inline slider
Description
The following code shows how to create inline slider.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.7.1.js'></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css">
<script type='text/javascript'
src="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"></script>
<style type='text/css'>
div.ui-slider {<!--from w w w . j a v a 2 s .com-->
display: none;
}
</style>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Header</h1>
</div>
<div data-role="content">
<label for="slider-fill">Input slider:</label>
<input type="range"
name="slider" id="slider-fill" value="60" min="0" max="100"
data-highlight="true" />
</div>
<div data-role="footer">
<h1>Footer</h1>
</div>
</div>
</body>
</html>