secretsquirrel
Programmer
Hi guys,
I posted a similar problem here a couple of days ago, but the plot thickens...
I have a page containing a set of links to external sites which are out of my control (Yahoo, Google, etc.). If a user clicks on, for example, Yahoo, it is launched in a new window.
After using Yahoo, the user might leave the Yahoo window open and return to the original window. If they then click on Google, it is launched in the Yahoo window, but this remains out of focus.
How can I get the new window to regain focus every time a new site is loaded into it?
I know that I could use a frameset (one for each link) consisting one frame which contains the site, and use onLoad="window.focus()", but my site gives users the option of personalising the set of links.
I posted a similar problem here a couple of days ago, but the plot thickens...
I have a page containing a set of links to external sites which are out of my control (Yahoo, Google, etc.). If a user clicks on, for example, Yahoo, it is launched in a new window.
After using Yahoo, the user might leave the Yahoo window open and return to the original window. If they then click on Google, it is launched in the Yahoo window, but this remains out of focus.
How can I get the new window to regain focus every time a new site is loaded into it?
I know that I could use a frameset (one for each link) consisting one frame which contains the site, and use onLoad="window.focus()", but my site gives users the option of personalising the set of links.