• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1196
  • Last Modified:

window.open child window hide address bar

Hi,

I want to open a child window from JavaScript.
I have
 new_window=window.open(url,name,'toolbar=no,location=no,width='+w+',height='+h+',scrollbars=1',',left=' + centerWidth+',top='  + centerHeight);

But I still see the address bar!
Why?
0
VapiSoft
Asked:
VapiSoft
1 Solution
 
acbxyzCommented:
Your code is correct, but many modern browsers disabled the "location=no" due to security reasons (phishing).
In Firefox, there is an option to turn it on again:
dom.disable_window_open_feature.location
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now