One means I have done to produce even string representations in the
slider is to make an array of the values you want and then use the min/
max as the array's length like this:

min: 0
max: reverseYears.length - 1

 and then do something like this to show the values:

reverseYears[ui.values[0]] + ' - ' + reverseYears[ui.values[1]]

It's not as neat as simply reversing the order of the count from left
to right, but it works.

On Dec 7, 10:22 am, JD <[email protected]> wrote:
> I am working on a slider to select a year-based date range.
> I need to reverse the Min and Max.... for example;
>
> 2009 - 1950 and I need 2009 to be on the LEFT.
> I can only get it to go to Right because it's the highst number.
>
> How do I reverse the polarity (so to speak)?
>
> Thanks
> JD

--

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.


Reply via email to