Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Window.open location problem

Posted on 2010-08-18
2
Medium Priority
?
600 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

916 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