I am a javascript newbie. I've got some basic window opening / focus issues working, but I can't get a handle on this one. It has to do with opening a window and loading a page over which I have no control.
I have a page with a list. Each item in the list has a link to open another window that loads a page on somebody else's site (picture a list of headlines linking to the actual news articles at various sites -- not mine). When the user finishes with the second window, he will click on the original (list) page, using the window buttons at the bottom of his screen.
The problem is that when he clicks on another list item, which is again loaded into the second page, that page does not take the focus and come to the front. The new URL loads in the background, and the user sits and wonders where the page he asked for is.
I need to either: 1) close the second page when it loses focus or 2) get it to take focus onload WITHOUT being able to put anything in the code of that page (it's not my page).
I don't like solution #1, because it could be annoying. One slip of a mouse click and any navigation the user did on the second site is gone.
Any help greatly appreciated.
Roy
I have a page with a list. Each item in the list has a link to open another window that loads a page on somebody else's site (picture a list of headlines linking to the actual news articles at various sites -- not mine). When the user finishes with the second window, he will click on the original (list) page, using the window buttons at the bottom of his screen.
The problem is that when he clicks on another list item, which is again loaded into the second page, that page does not take the focus and come to the front. The new URL loads in the background, and the user sits and wonders where the page he asked for is.
I need to either: 1) close the second page when it loses focus or 2) get it to take focus onload WITHOUT being able to put anything in the code of that page (it's not my page).
I don't like solution #1, because it could be annoying. One slip of a mouse click and any navigation the user did on the second site is gone.
Any help greatly appreciated.
Roy