muppets
09-11-2003, 01:04 AM
v-new to js
scenario
2 windows, window 1 calls window 2 to open w2 has onload statement to move off the screen, window 2 has a blur function. I can get the "close to minimise" function to work and the "close to restore" function.
The problem being window 1 isn't focused, window 2 remains focused off the screen.
Typically I don't want the user to access page 2 at all until they want to close window 1 as it has an mp3 embeded and will stop if the window is closed.
I want to focus window 1 once window 2 has gone off screen, can I call a focus function in window 1 from window 2?
The code is almost perfect....I think, well good enough anyway, if anyone can help me with focus it would be great.
scenario
2 windows, window 1 calls window 2 to open w2 has onload statement to move off the screen, window 2 has a blur function. I can get the "close to minimise" function to work and the "close to restore" function.
The problem being window 1 isn't focused, window 2 remains focused off the screen.
Typically I don't want the user to access page 2 at all until they want to close window 1 as it has an mp3 embeded and will stop if the window is closed.
I want to focus window 1 once window 2 has gone off screen, can I call a focus function in window 1 from window 2?
The code is almost perfect....I think, well good enough anyway, if anyone can help me with focus it would be great.