Last active
August 29, 2015 14:00
-
-
Save Igosuki/95b922bee4b744b20054 to your computer and use it in GitHub Desktop.
Merci
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
$(function() { | |
$("#fond").attr("src","./images/regions_"+ancre+"00.png"); | |
var slider = $("#slider").slider({ | |
value:0, | |
min:0, | |
max:65, | |
slide: function( event, ui ) { | |
var nombre = ("0" + ui.value).slice(-2) | |
$("#fond").attr("src","./images/regions_"+ancre+nombre+".png"); | |
} | |
}); | |
$('.ui-slider-handle', slider).draggable(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment