Hi, I have an javascript event that causes the data being used for the range to be changed (ss and se, see below) and I need to recaculate 'value' and update the p element as if the onSlide event has been called. Here is a snippet of code.
// <![CDATA[ p=document.getElementById('sliderpos'); new Control.Slider('ruler_handle','ruler_track',{ onSlide: function(value) { Details.prototype.loadSegmentInfo(); ss=Details.prototype.segmentStart; se=Details.prototype.segmentEnd; v=Math.round((value*(se-ss)+ss)); p.update(v); }}); // ]]> Thanks for any help! -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.