1,105,208 Community Members

js: open in new tab, then target opener

Member Avatar
Buppy
Junior Poster
113 posts since Nov 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi,

I know it's possible to open a new window with javascript and then target the original one with "opener.". Is it possible to open in a new tab instead and still target the opener?

Thanks

Member Avatar
diafol
Where are my eyes?
12,947 posts since Oct 2006
Reputation Points: 1,821 [?]
Q&As Helped to Solve: 1,845 [?]
Skill Endorsements: 92 [?]
Moderator
Featured
Sponsor
 
0
 

I think that whether a tab or window opens is down to the browser / client settings? I've seen this sort of thing:

window.open('http://www.example.com','_newtab');

But it may be patchy, especially if you call it a few times.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article