robindean
06-18-2007, 10:58 AM
I have a div tag that is styled as follows:
.select_menu {
width: 298px;
max-height: 50%;
border-left: 1px solid #aaaaaa;
border-right: 1px solid #aaaaaa;
border-bottom: 1px solid #aaaaaa;
background-color: #333333;
position: absolute;
overflow-x: hidden;
overflow-y: auto;
display: none;
};
This div is made visible via a javascript mousedown event:
onmousedown="document.getElementById('some_id').style.display = 'block';"
My problem is that, after the div display style is changed, Explorer won't show the scroll bars unless I start moving the mouse wheel.
I need for the scrollbars to appear immediately with the div.
Does anyone know of a fix / workaround for this?
.select_menu {
width: 298px;
max-height: 50%;
border-left: 1px solid #aaaaaa;
border-right: 1px solid #aaaaaa;
border-bottom: 1px solid #aaaaaa;
background-color: #333333;
position: absolute;
overflow-x: hidden;
overflow-y: auto;
display: none;
};
This div is made visible via a javascript mousedown event:
onmousedown="document.getElementById('some_id').style.display = 'block';"
My problem is that, after the div display style is changed, Explorer won't show the scroll bars unless I start moving the mouse wheel.
I need for the scrollbars to appear immediately with the div.
Does anyone know of a fix / workaround for this?