I am developing some functionality for a site that makes use of many
of the prototype lib and scriptaculous features.  Everything is
working well with the exception of a Control.Slider in IE (of course,
Firefox and Safari are golden).  The slider is being used to scroll a
div that contains a table of data.  The table is build by the client
using the results of an ajax call to a Web service and it resides in
the div that is being scrolled.

The slider works fine in IE on a different div that is not being
rendered on the fly and that contains much more content.

So here's what's happening:

Once the content has rendered everything looks fine.  I grab the
slider handle and attempt to drag it south and it flickers.  This also
causes the div being scrolled (scrollable) to flicker.  When I release
the mouse it leaves the scrollable div scrolled all the way to the
bottom of the content and the slider is positioned back at the top of
the track.

If I then attempt to drag the handle up attempting to move the
scrollable div down I get an exception due to a NaN being passed to
the Control.Slider's event handler (exception occurs at line 154 in
the Control.Slider.translateToPx(value) method called from the
Control.Slider.SetValue(sliderValue, handleIdx) method at line 144).

If posting code will help I will but this seems like it should be a
known issue with the wonderful implementation of DOM and JS in IE.  I
just haven't been able to find anything on it in this group or on the
project wiki.

Thanks in advance!
B.


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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