Last active
December 17, 2015 03:19
-
-
Save abennouna/5542252 to your computer and use it in GitHub Desktop.
Le Lab by tellibus : noUiSlider - http://tellibus.com/lab/noUiSlider
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
<link rel="stylesheet" href="nouislider.fox.css" type="text/css"> | |
<div id="DivToTransform" class="noUiSlider horizontal"></div> | |
<div id="#Display"></div> | |
<script src="zepto.min.js"></script> | |
<script src="zepto.data.pack.js"></script> | |
<script src="nouislider.min.js"></script> | |
<script> | |
$(function($) { | |
$("#DivToTransform").noUiSlider({ | |
range: [10, 500], | |
start: 50, | |
step: 5, | |
handles: 1, | |
slide: function () { | |
$("#Display").html($(this).val()); | |
} | |
}); | |
}); | |
</script> |
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
<link rel="stylesheet" href="nouislider.fox.css" type="text/css"> | |
<div id="DivToTransform" class="noUiSlider horizontal"></div> | |
<div id="#Display"></div> | |
<script src="jquery.min.js"></script> | |
<script src="nouislider.min.js"></script> | |
<script> | |
$(function($) { | |
$("#DivToTransform").noUiSlider({ | |
range: [10, 500], | |
start: 50, | |
step: 5, | |
handles: 1, | |
slide: function () { | |
$("#Display").html($(this).val()); | |
} | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
La page officielle du fork se trouve sur http://tellibus.com/lab/noUiSlider