Thanks but that example doesn't cover the use of mutiple handles via
the 'handles' option with custom min and max.
However I did solve this problem, but the project got sidelined by the
client so my attention went away from it!
What tripped me was that you still have to supply a min and max option
as well as supply the custom min-max values for each handler.
have updated linked example so it now works.
$('#slider-beds').slider({
handles:
[{start:bedMinMinVal,min:bedMinMinVal,max:bedMinMaxVal,id:'bed-
slider-1'},
{start:bedMaxMaxVal,min:bedMaxMinVal,max:bedMaxMaxVal,id:'bed-
slider-2'}],
range: true,
min: bedMinMinVal, // Added
max: bedMaxMaxVal, // Added
steps: bedStepsCount,
slide: function(e,ui) {
$("#bed-val-min").html($('#slider-beds').slider('value',0));
$("#bed-val-max").html($('#slider-beds').slider('value',1));
},
change: function(e,ui) {
/*console.log($('#slider-beds').slider('value',0));*/
$("select#bed-min").val($('#slider-beds').slider('value',0));
$("select#bed-max").val($('#slider-beds').slider('value',1));
}
});
On Sep 17, 2:32 pm, sissi <[EMAIL PROTECTED]> wrote:
> Hi guys
>
> have a look here, there is a working example:
>
> http://dev.jquery.com/view/tags/ui/1.5b2/demos/ui.slider.html
>
> cheers
> sissi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---