Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lyrgard on Dec 09, 2009 02:35
open dhtmlx forum
vertical Slider with IE6

Hello,

I'm coding an application that have to work under IE6.
I need to put a vertical slider, but it won't show. It takes the space where it should appear, but do not appear.

The horizontal slider work fine on IE6, and both horizontal and vertical sliders work fine on Firefox (3.5.5).

Is there a way to make vertical sliders works on IE6 ?
Answer posted by Alex (support) on Dec 09, 2009 04:58

Hello,

locally vertical slider appears in IE6. Please, provide the complete demo to recreate the issue

Answer posted by Lyrgard on Dec 09, 2009 06:38
Ok, after some search I now understand the problem.

in IE6, offsetWidth always return 0 until the page if fully loaded. As I was initializing the vertical slider during the loading of the page (after the div that should contains the slider), the slider was rendered with a width of 0, thus non appearing.

Initiazing the slider in window.onload solved the problem.