hi guys
i'm developing a mobile app with jquery mobile and api javascript compact.
I create a list of map service with checkbox to show / hide.
Now i would like to develop a slider for change transparency but my code don't work
This is the code for slider
$(document).ready(function(){
$("#slider-id").slider({
value:100,
min:0,
max:100,
step:5,
slide : function(evt, ui){
featureLayerB.setOpacity(ui.value/100);
}
});
});
and my jquery slider:
<input type="range" id="slider" data-mini="true">
but don't work. Any idea or any help?
Any example?
thanks
Bye