Hi

Your slider handles have a left position, (style.left) which should be
relative to the left of the containing div (track).
You know the slider width, so if you wanted a div, lets call it highlight to
be displayed in the correct left position, with a width,
add it to the markup, and then when your sliders are moved, via a callback
function do something like this:
where highlight, leftHandle and rightHandle are dom references.

highlight.setStyle({ left: leftHandle.style.left + leftHandle.style.width,
width:(rightHandle.style.left - leftHandle.style.left -
leftHandle.style.width); })

Also, your example page-refreshes in IE7 when I finish moving a slider, not
sure if that's what you wanted.
On Tue, Jul 1, 2008 at 11:27 PM, El Magnifico <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I have this multi-handle slider: http://tiny.cc/i9ZI1 but I'd like to
> have a DIV bewteen the two slider so I could give it a color or a bg,
> how'd I do that?
>
> Many thanks.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to