Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

AlwaysRaised of the opener window only

Posted on 1998-06-17
2
Medium Priority
?
613 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 100 total points
ID: 1265777
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
ID: 1265778
thanks but I can't do it anyway.
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

650 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