• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 824
  • 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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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