Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Window Status

Status
Not open for further replies.

BML

Programmer
Oct 24, 2000
37
PT
HI,

I have two HTML pages, in the first page I call the second that have to appear in the same window, like this:
Code:
 window.open("home.html", "_self", "status=no");
the third parameter (status=no), is to disable the status bar from the browser (IE 4.0), but that doesn't work...

why ???

is there a way to disable all the things in the window ???

if I open the second page on another window:
Code:
 window.open("home.html", null, "status=no");
it work's fine...but I want the same window...!! regards,

Bruno Loureiro
<brunoloureiro@usa.net>
 
Hi.

window.open(sURL,sName,sFeatures,bHistory)

When the sFeatures parameter is specified, the features that are not defined in the parameter are disabled. Therefore, when using the sFeatures parameter, it is necessary to enable all the features that are to be included in the new window. If the sFeatures parameter is not specified, the window features maintain their default values. In addition to enabling a feature by setting it to a specific value, simply listing the feature name also enables that feature for the new window.

When you set sName=_self you don't create new window, it seems like location.href. The sFeatures parameters are disabled after creating a window.

regards, Kirilla
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top