Nebukad
asked on
Keep focus on window
Hi,
Given the following example, how do i keep the focus on the current page after a user clicks on the link. In other words the link should open but the focus should remain on the current page.
I tried using the window.focus function but for some reason this does not work.
Any help would be appreciated.
Kind regards,
Nebu
Given the following example, how do i keep the focus on the current page after a user clicks on the link. In other words the link should open but the focus should remain on the current page.
I tried using the window.focus function but for some reason this does not work.
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
KEEP ME IN FOCUS<BR>
<A HREF="http://www.google.com" TARGET="_blank">Link</A>
</BODY>
</HTML>
Any help would be appreciated.
Kind regards,
Nebu
ASKER
Thanks for your response darren-w but unfortunately this does not work.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window