2

I want to hide/remove address bar of a child document which is opened using window.open();.

JavaScript

newwin = window.open('child.html',
 'newwin',
 'width =     900,
 height =     750,
 toolbar =    no,
 scrollbars = no,
 location =   0,
 resizable =  no
');

this code actually disables the address bar, but does not hide it.

I don't want to show address bar to end users.

Community
  • 1
  • 1
siva
  • 31
  • 2
  • 7

1 Answers1

1

You can't, it's a security precaution.

The only place this is possible is if you're using Internet Explorer and the site is added to trusted sites list.

You may want to consider other options like jQuery Dialog

Yuriy Galanter
  • 38,833
  • 15
  • 69
  • 136