wood burning stoves*
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Disable status bar and address bar in javascript
 
Similar Threads
How can i hide the address bar?
disabling the address bar
hiding status bar
Disable Toolbar function doesn't work with IE7 and Firefox 3.5
Retriving the property of IE 7.0 from Security tab