window.onblur an IE
Hi Guys.
Here's one that driving me crazy.
window.onblur seems to work great in ff, but in IE if the window inquestion opens a new window, the onblur event only fires when the origional window receives the focus again...?
Am I doing something wrong, is this a known limitation? Any workarounds know?
Cheers
Here's one that driving me crazy.
Am I doing something wrong, is this a known limitation? Any workarounds know?
Cheers
Dare I ask why you think it necessary/desirable/okay to mess with windows like this?
Not sure I'm at libity to say just yet (a feature of something still in development).
But it is in the interests of accessibility.
But it is in the interests of accessibility.
In the intrest of accessibility it far better not to use spaned windows. Not all screen readers will notify the user that a new window was opened. This can cause a lot of confusion for the user, especially if they want to use the back button. Given that spawning new windows can easily be done by the user (and in my experience this is one aspect of the browser that users do know how to control), this is something that is best left up to user choice.
There's also an issue for tabbed browsers. Depending on the users settings the window may open in a new window, or it may open in a new tab.
As for your origional question, try explicitly giving the new window focus.
Jonathan Worent
The early bird gets the worm, but the second mouse gets the cheese.
There's also an issue for tabbed browsers. Depending on the users settings the window may open in a new window, or it may open in a new tab.
As for your origional question, try explicitly giving the new window focus.
Jonathan Worent
The early bird gets the worm, but the second mouse gets the cheese.
Hi
Thanks for the words of wisdom, but as I can't discuss what I'm doing entirely (yet) I can't explain why your worries aren't relevant here.
I can't give the other window focus (I don't think) as It may not always be 'my' window. i.e. it may not be on the same domain.
Any ideas?
Cheers
Thanks for the words of wisdom, but as I can't discuss what I'm doing entirely (yet) I can't explain why your worries aren't relevant here.
I can't give the other window focus (I don't think) as It may not always be 'my' window. i.e. it may not be on the same domain.
Any ideas?
Cheers


