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

AlwaysRaised of the opener window only

I have a scrits that opens n alwaysRaised window.
I want this window to be "modal" or alwaysRaised only for the opener window.
 As an alert window.

Is there any free-pages-space server where i can run my server side scripts?
1 Solution
Michel PlungjanIT ExpertCommented:
Do you mean that when I focus another window than the opener, the alwaysRaised alertbox goes behind and when I focus the opener, the alwaysRaised alertbox comes in front again?

I think I would not use alwaysRaised then... (also needs signed scripts in the real world)

How about having a <BODY ONFOCUS="if (self.focus && alertboxopen) alertbox.focus()"> in the opener window

The if (self.focus) only tests to see if window.focus exists since MSIE3 does not have it and complains if you use it.

Whether or not the alertbox is open could be handled by an ONUNLOAD="opener.alertboxopen = false;" in the alertbox html

someuAuthor Commented:
thanks but I can't do it anyway.
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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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