Solved

window.open child window hide address bar

Posted on 2011-09-18
1
1,064 Views
Last Modified: 2012-05-12
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
Comment
Question by:VapiSoft
1 Comment
 
LVL 10

Accepted Solution

by:
acbxyz earned 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now