Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disable status bar and address bar in javascript

 
Subha Garg
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic