With window.open, IE shows "location" box while Firefox does not

When I use the following code to bring up a new window:

window.open('miniplayer.asp?ID=1','MiniPlayer','height=150,width=520,status=no,toolbar=no,menubar=no,location=no')

In IE, the location box show at the top, while if I use firefox, the location box does not show.  Do I need to do something different with IE to get the location box to hide?


LVL 3
onemorecokeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ashish PatelCommented:
try this.

window.open('miniplayer.asp?ID=1','MiniPlayer','height=150,width=520,status=no,toolbar=no,menubar=no,modal=yes')
0
LeeKowalkowskiCommented:
If it's IE7 then it's a setting, the user can configure IE7 to always show the location and/or status bar for popup-windows.

--
Lee
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BadotzCommented:
In the features list, most attributes are interpreted as 'no' or 'false' if they are not specified.

Try:

window.open('miniplayer.asp?ID=1', 'MiniPlayer', 'height:150,width:520')
0
onemorecokeAuthor Commented:
asvforce: No go on the modal setting.

Badotz: If I leave it out, same behaviour.

LeeKowalkowski: Thank for the response, you nailed it. The setting is in the Zones/Custom settings area and is called "Allow websites to open windows without address or status bars".  

I read later that IE is leaving the URL bar in because of phising problems, where if the bar is left out and mimic by the evil designer, it can look ligit.  So the moral of the story is, the bar is there unless the client wants to get rid of it.  IE is the only one doing it from my research.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.