Hi all,

I'm afraid I've found a nasty bug in IE 6 related with scrollbars.

If you customize your bars using the CSS properties (SCROLLBAR-FACE-COLOR,
SCROLLBAR-FACE-COLOR, SCROLLBAR-HIGHLIGHT-COLOR, etc.), open a popup that
shows these scroll bars and then you move it, Internet Explorer will crash
completely and you will have to restart it.

You can reproduce it easily following these steps:

1.- Download the release 1.0 (windows_js_1.0.zip) and uncompress it.
2.- Open the sample \samples\index.html and add the following styles to the
body style:

   body {
       background:#DDD;
       font-family: verdana, arial, sans-serif;
       font-size:14px;


       SCROLLBAR-FACE-COLOR: #D1D5DC;
       SCROLLBAR-HIGHLIGHT-COLOR: white;
       SCROLLBAR-3DLIGHT-COLOR: #CCCCCC;
       SCROLLBAR-ARROW-COLOR: #003399;
       SCROLLBAR-TRACK-COLOR: #E1E1E1;
       SCROLLBAR-DARKSHADOW-COLOR: #385FAB;
       SCROLLBAR-BASE-COLOR: #E0E0E0;

   }

3.- Make the window 'content_win' resizeable:

...
contentWin = new Window('content_win', {className: "darkX", resizable: true,
hideEffect:Element.hide, showEffect:Element.show})
...

4.- Save and open the page in IE 6 (5.5 also has this problem). Open the
content win ('Click here to open a window with the div below at the exact
same size and position ').

5.- Resize it until you can see the scroll bars and then try to move the
popup. IE will crash.

Does anybody know how could it be solved? I know an obvious solution would
be deleting the scrollbar styles, but I cannot do that since I'm working
with a legacy application and I must keep the same look & feel...

Thanks in advance,

José Luis.
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to