- On Thu, Nov 16, 2006 at 05:03:51PM -0800, Lamb, Ron wrote:
> I have integrated the slider into a Widget I am creating. The sliderI don't see a style definition for the thumb. Adding a position style
> does slide back and forth but I am seeing some unusual behavior that I
> need to fix.
> Below is snippet of the code I used to create the Slider. HTML of the
> slider and the CSS for the background
> slider = YAHOO.widget.Slider.getHorizSlider("sliderbg", "sliderThumb",
> 0, 144, 8);
> this.slider.setValue(intialLevel, true, false);
> this.slider.enableKeys = false;
> <div id="sliderBG">
> <div id="GplSliderThumb"><img src="img/slide.png" alt=""
> position: absolute;
> left: 25px;
> top: 5px;
> background:url(../img/horzBarBg.gif) no-repeat;
> height: 15px;
> width: 151px;
(either absolute or relative) to the thumb should resolve your issue.
>This is not supported currently, but please submit a feature request if
> The issue that I am having is that when I click to the left of the
> slider it will jump all the way to the beginning. When I click to the
> right of the slider nothing happens.
> Personally I would like to tie into the event of clicking to the left or
> right and moving it one notch left or right but if this is not double I
> would like nothing to happen when the user does this.
you would like to see it added:
> I don't see a style definition for the thumb. Adding a positionThanks, this hint solved my problem.
> (either absolute or relative) to the thumb should resolve your