S
S
SpiritSound2015-08-25 14:05:12
JavaScript
SpiritSound, 2015-08-25 14:05:12

How can I leave focus on the main window?

Hey!
I am opening a small window in js via open.window . There is some kind of loading, waiting for user actions.
But this window opens everywhere on top of the main window. I read that you can use some magic through Flash to focus the main window so that the small one is behind. Though not in all browsers.
Can you at least tell which letter the magic method is applied to in ActionScript?
For example, you need to play the animation in Flash or something else.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2015-08-25
@br3t

Not ActionScript, but js version - execute window.opener.focus() in the child window

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question