• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 830
  • Last Modified:

window.locationbar.visible not working in IE6?

In IE6, window.locationbar.visible  returns nothing, whereas in Netscape and FireFox it returns true/false. I want to use it to determine if it is a pop-up window. Any other way? thanks
0
tpchai
Asked:
tpchai
  • 2
1 Solution
 
Michel PlungjanIT ExpertCommented:
if (window.opener) alert('I am a popup')

is a better test, because I can pop a window with location bar visible
0
 
Michel PlungjanIT ExpertCommented:
Did this comment answer your question?
0
 
Computer101Commented:
Forced accept.

Computer101
Community Support Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now