Solved

AlwaysRaised of the opener window only

Posted on 1998-06-17
2
589 Views
Last Modified: 2012-05-04
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?
0
Comment
Question by:someu
2 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 100 total points
Comment Utility
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

Enjoy,
Michel
0
 
LVL 1

Author Comment

by:someu
Comment Utility
thanks but I can't do it anyway.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now