views:

526

answers:

2

Hi,

Is there a way to spawn a new window via javascript in IE7 that hides the statusbar?

I've added the intranet app as a trusted site. Not sure what else I can use to try. This is my JS

window.open("http:/localhost/start.html", "MyApp", "left=0, top=0, width=" + screen.width + "," +
            "height=" + screen.height + ", scrollbars=yes, " + 
            "resizable=yes, location=no, menubar=no, titlebar=no, " + "toolbar=no, status=no");
A: 
CooPs
this works on the local machine only. If on the public Internet, it will not work.
scunliffe
+4  A: 

No. Microsoft decided that "in the name of security" they would force the status bar to show on popup windows in IE7. (they also force a new minimum width of ~250px instead of the 100px it used to be - this is so they can show the url in the readonly dropdown location bar thing)

Sorry.

scunliffe
IMO this would be a great answer if you provided a link to the Microsoft document where you got the quotation.
JXG
It was on the IE Blog, I'll see if I can dig up the reference.
scunliffe
Found it: http://blogs.msdn.com/ie/archive/2006/08/25/719355.aspxquote: "In Windows XP Service Pack 2, IE’s security improvements added window restrictions that forced the status bar onto windows and dialogs (in certain security zones); "
scunliffe