window.open setAlwaysonTop

I am creating the following JavaScript to open a new window.  In some cases, the window does not open on top and the user must hunt for it.  

<script>
 function FeedBack(X)
 { window.open(X);
window.location.reload(true);
}
</script>

I'm thinking that I need to use setAlwaysontop, but I don't know how to call it.
mpiaserAsked:
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.

hujiCommented:
Does this help:

<script>
 function FeedBack(X)
 {
    winTmp = window.open(X);
    winTmp.setAlwaysontop(true);
    window.location.reload(true);
 }
</script>
0
hujiCommented:
But you should also notice that Setalwaysontop doesn't work in many browsers. For example in Mozilla, a newly opened window is shown behind the current window when you use the above code.

Sorry for double posting
Huji
0
mpiaserAuthor Commented:
I get an "Error - object doesn't support this property or method"
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

hujiCommented:
Typical. As I said, setAlwaysontop is not available on most browsers.
0
mpiaserAuthor Commented:
This is IE 7.  Is there another way to accomplish launching a new browser window and setting it as to top(focused) window?
0
hujiCommented:
As far as I know, there is no way to do that. Focusing is available for the objects, but not for the window. I will search in the internet too, and let you know if I found a way to do that, but as far as I know, the answer is negative.
0
hujiCommented:
I searched for you. There is no way to "keep" a window "always" on top. Perhaps you can bring it back to focus like this:

<script language="javascript" type="text/javascript">
function popup(url) {
      newwindow=window.open(url,'name','height=200,width=150');
      if (window.focus) {newwindow.focus()}
      return false;
}
</script>
0
Michel PlungjanIT ExpertCommented:
or in the body tag of the opened window

<body onLoad="window.focus()">
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
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.