Click to See Complete Forum and Search --> : Wanting Link in Pop-Up to Open In Main Window


WickedYoungMan
06-07-2008, 04:01 PM
Okay. So follow along with me if you can please.

I have a main browser window, Browser A. There's a link which will open up a pop-up window. I have a link inside the pop-up window which I would like to open back up in the main browser, preferably in a new tab.

At first, I was using target="_blank" This works sometimes in FireFox how I want. Then anymore it doesn't want to do that for some reason.

Is there a definite way I can do this?

Thanks!

felgall
06-07-2008, 04:52 PM
The browser can be configured to open links however the browser owner wants but generally if you specify a target then the page will open in the window or tab having that window name if one exists and will open a new window or tab if it doesn't.

WickedYoungMan
06-09-2008, 05:06 AM
Okay cool thanks

So in Layman's, is there a way to show me an example code of how I can do this?

Just want to click a button from the pop up link which will open in a brand new window or tab in the main browser window if possible if you get what I mean.

ray326
06-09-2008, 07:43 PM
http://developer.mozilla.org/en/docs/DOM:window.opener