Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: get layering order of windows
11-06-2010, 01:15 AM #1
- Join Date
- Nov 2010
- Thanked 0 Times in 0 Posts
get layering order of windows
I'm trying to capture the order in which the windows I've opened using window.open are layered on top of each other. For example, if I open three windows, starting with the first on the bottom and the third on top, but I then focus on the second window, bringing it to the top, is there a way to capture the new window order (2 on top, then 3, then 1)? I know that window.top can give me the first one, but from there, without closing it, is there a way to tell what the next one underneath it is?
Thanks in advance,
11-06-2010, 07:03 AM #2
- Join Date
- Jan 2010
- Behind the Wall
- Thanked 411 Times in 407 Posts
what if the windows are not stacked? from the application point-of-view only the state (active window or not) matters.
The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.André Behrens, NY Times Software Developer