Solved

Window.open location problem

Posted on 2010-08-18
2
585 Views
Last Modified: 2013-12-08
Hi there.  I'm using the following javascript to open a window.  The issue is that on SOME client machines, the window opens displaying the URL bar (Location) even though that option is set to "no".  I'm not certain if this is a browser setting or something wrong with my code.  It works on most PCs.  Today's offender was running windows XP with IE8.  I tried vewing both in and out of compatility view and there were no changes.  

Ordinarily I wouldn't care so much, but it's nice to hide the URL.  In addition we are using our application with some screen-scraping software and this extra bar on SOME of the machines is throwing things off.  

HELP! :)




window.open('sl/index.htm', '_blank', 'width=1016,height=660,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no')

        window.open('', '_parent', '');

Open in new window

0
Comment
Question by:Jeremy Morel
2 Comments
 
LVL 3

Accepted Solution

by:
andrewlorien earned 250 total points
Comment Utility
the location setting isn't all that reliable.

in FireFox, the user can decide whether to allow hiding of the location bar, and FF3 shows the location bar by default.
in IE7 and greater, the location setting actually controls whether the toolbar is hidden, not the location bar (which is always displayed)
and of course, all modern browsers have popup warnings, so your users will have to say ok to your popup window before they see it anyway.

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

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

762 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

8 Experts available now in Live!

Get 1:1 Help Now