permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes Disable status bar and address bar in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disable status bar and address bar in javascript" Watch "Disable status bar and address bar in javascript" New topic
Author

Disable status bar and address bar in javascript

Subha Garg
Ranch Hand

Joined: Feb 28, 2008
Posts: 39
Hello

I am trying to disable status bar and address bar through javascript call

window.open("reportCriteria.jsp", "mywindow","location=no,status=no,scrollbars=0,resizable=0, width=540,height=195");

but my IE 6 does not disable the status bar but disables the address bar

and

IE7 shows the status bar and a non-editable address bar
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
There is nothing you can do for IE7 because there are new security features that the user has to uncheck in the browser settings in order for you to hide certain parts of the browser window.

And for IE6, does it work better if you use 0 instead of no.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disable status bar and address bar in javascript