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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---