sowna Posted May 31, 2012 Share Posted May 31, 2012 I have a link with target='_blank'. when i click the link it will take me the new tab in FF and new window in IE. here the focus is given to the new window or tab. I want to keep the focus on the parent window itself when i click on the link. how to do this? Link to comment https://forums.phpfreaks.com/topic/263416-give-focus-on-parent-window/ Share on other sites More sharing options...
BuildMyWeb Posted June 7, 2012 Share Posted June 7, 2012 this is a client-side issue. i believe a setting in the browser. i dont believe it can be attacked via CSS but you can with some javascript. this might be of help to you: http://www.roseindia.net/javascript/javascript-focus-method.shtml Link to comment https://forums.phpfreaks.com/topic/263416-give-focus-on-parent-window/#findComment-1351780 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.