all groups > dotnet jscript > january 2006 >
You're in the

dotnet jscript

group:

showModalDialog displays status bar when told not to


showModalDialog displays status bar when told not to bill
1/6/2006 10:09:45 AM
dotnet jscript:

I am opening a modal dialog with showModalDialog.

I specify "status: No;" but the status bar is displayed anyway.

This happens on the msdn example of the showModalDialog at
http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/showModalDialog.htm

I set Dialog Box Status to No, and the method syntax is:

window.showModalDialog("SMD_target.htm","Dialog Box Arguments #
1","dialogHeight: 299px; dialogWidth: 932px; dialogTop: 410px;
dialogLeft: 270px; edge: Raised; center: Yes; help: Yes; resizable: Yes;
status: No;");

This is happening on my intranet application, but it only happens when I
open the parent page using the IP address. It doesn't happen when I open
the parent page using the host name.

Internet Explorer version 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
Microsoft Windows XP Professional Version 2002 SP 2

Why is this happening and can I control it?

Thanks!
Bill


Re: showModalDialog displays status bar when told not to Bruce Barker
1/9/2006 3:23:52 PM
add the ipaddress to the trusted sites list.

-- bruce (sqlwork.com)


[quoted text, click to view]

AddThis Social Bookmark Button