Created
January 5, 2013 14:48
-
-
Save Troush/4461889 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<link rel="stylesheet" href="https://app.divshot.com/css/bootstrap.css"> | |
<link rel="stylesheet" type="text/css" href="https://dl.dropbox.com/u/49701154/html/jquery-ui-1.9.2.custom.min.css"> | |
<script src="https://app.divshot.com/js/jquery.min.js"></script> | |
<script src="https://dl.dropbox.com/u/49701154/html/jquery-ui-1.9.2.custom.min.js"></script> | |
<body> | |
<p> | |
<label for="amount">Ожидания по з/п</label> | |
<input type="text" id="amount" class="input-small" value=""/> | |
</p> | |
<div id="slider-range-min"></div> | |
<script type="text/javascript"> | |
$(function() { | |
$( "#slider-range-min" ).slider({ | |
range: "min", | |
value: 37, | |
min: 100, | |
max: 10000, | |
step: 50, | |
slide: function( event, ui ) { | |
$( "#amount" ).val( "от $" + ui.value ); | |
} | |
}); | |
$( "#amount" ).val( "от $" + $( "#slider-range-min" ).slider( "value" ) ); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment