Is it possible to have a link in a popup window open in a new tab in the parent window?
Here's the flow: I have a page with a link on it (call it Page A). Clicking the link on Page A opens a popup window (Page B). Clicking a link on Page B opens another page (Page C) in the parent window, but it replaces Page A.
What I want to do is have the link on Page B (the popup) open Page C in a new tab in the parent window, so that Page A remains open.
Is it possible to have a link in a popup window open in a new tab in the parent window?
Here's the flow: I have a page with a link on it (call it Page A). Clicking the link on Page A opens a popup window (Page B). Clicking a link on Page B opens another page (Page C) in the parent window, but it replaces Page A.
What I want to do is have the link on Page B (the popup) open Page C in a new tab in the parent window, so that Page A remains open.
Share Improve this question asked Dec 1, 2011 at 15:25 daGUYdaGUY 28.8k29 gold badges77 silver badges123 bronze badges 2- besides its technial issue, is it really a user friendly state? – Kemal Can Kara Commented Dec 1, 2011 at 15:27
- You don't really have access to the browser tabs and windows. With the targets you only have access to the __parent and __self. So, not really helping there. Every browsers handles tabs and windows differently and don't forget that some browsers don't even have tabs. – jValdron Commented Dec 1, 2011 at 15:28
1 Answer
Reset to default 4try
parent.window.open("http://www.javascript-coder.","mywindow");
otherwise please post what you already have and we'll pick it up from there....
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744708604a4589203.html
评论列表(0条)