Solved

Window.open location problem

Posted on 2010-08-18
2
589 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
ID: 33471303
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
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)
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

821 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