Wednesday, March 21, 2012

Is it possible to change slider Length on client side?

Is it possible to change slider Length on client side?

Tim.

I don't see a built-in way of doing this with the slider although this hack worked for me in IE7:

var slider = $find('SliderBehaviorID');
slider._railElement.removeNode();
slider._handle.removeNode();
slider._handleImage.removeNode();
slider.set_Length(300);
slider._initializeLayout();

Jason

No comments:

Post a Comment