Microsoft KB Archive/191186

= PRB: Cannot Remove or Change Status Bar on HTML Dialog Box =

Article ID: 191186

Article Last Modified on 5/11/2006

-

APPLIES TO


 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 4.01 Service Pack 1

-



This article was previously published under Q191186



SYMPTOMS
When you use window.showModalDialog to show an HTML dialog box, you cannot programmatically remove the status bar from the window.

Also, window.status appears to have no effect.



CAUSE
In Internet Explorer 4.x, it is not possible to remove the status bar for security reasons. This is to prevent Web pages from spoofing password dialog boxes that may retrieve personal user information.



STATUS
This behavior is by design. The designed behavior has changed in Microsoft Internet Explorer 5 or later to allow removal of the status bar.



MORE INFORMATION
One alternative approach is to use window.open, which can create windows without the status bar:  function openANewWindow {    newwindow = window.open("URL", "WindowName", "status=no"); }  However, this window will not be modal, and the new window will need to access the creator window through window.opener to pass values back and forth.

