Brendan.McKenna-rHT6zfoPu/8AvxtiuMwx3w@public.gmane.org
2005-Dec-08 15:10 UTC
Slider problems in IE6
Hi, Sorry to report a bug here, but since the web site (well, just the Wiki part of it) seems to spend more time being unavailable than not, I don''t have much choice. I''m using IE version 6.0.2900.2180.xpsp_sp2_gdr.050301-1519. I''ve developed a small page that uses the sliders -- specifically, a single slider with two handles), which works fine in all versions of Firefox that I''ve tested it with. However, in the above version of IE, it doesn''t work at all. I''ve managed to trace it to the fact that the Control.Slider.trackWidth attribute is not being set in IE, but it is being set in Firefox. The track, which I''ve defined as follows: <div id=''spend-track'' style=''width:350px;background-color:#aaa;height:7px;position:relative;''> Comes up with a value for offsetWidth (or Control.Slider.track.offsetWidth) of 0 in IE, and 350 in Firefox. I can work around this by ''manually'' setting the trackWidth attribute to the appropriate size. Brendan