ui.slider bug

ui.slider bug


Bug description: in IE6 if a slider handle has a div inside (as mine
does) its offsetWidth is set to something larger than what I set in
CSS. The fix is to not use offsetWidth to calculate the handle size:
_handleSize: function(handle,axis) {
// Fixes issue in IE 6 because offsetWidth in IE6 is wrong
return parseInt($(handle != undefined && handle !== null ?
this.handle[handle] : this.currentHandle).css((axis == "x" ? "width" :
"height")));
}
This assumes that your CSS setting is in pixels.