You Are Here:
TopRockPop > Pop Msg29809

Pop

Re: how to get pop-up to link (and then close) to NON PARENT window???
Date: 20 Jul 2003 10:03:22 -0700
Newsgroups: comp.lang.javascript
Size: 1,384 bytes
Sorry if i wasn't clear.
I am actually opening the pop-up with a <form> post. in that I have a
"target="_new" to make it pop up.
I need to apologize in advance because I'm not very proficient in
javascript; i know just enough to get into trouble.
So the process is:
1. parent window opens a <form> via "target=_new"
2. that pop-up page includes some frames in it.
3. I want to then close the whole pop-up when a user clicks on a link
within the popup, and have it direct the user to the linked-to page,
but within the parent window.
Thoughts?
Lasse Reichstein Nielsen <email-address-deleted> wrote in message news:<email-address-deleted>...
> email-address-deleted (DROdio) writes:
>
> > I have a parent window that calls a popup, but via a semi convoluted
> > process where it seems to lose its parent designation.
>
> "parent designation"?
> What happens, exactly?
>
> > I want that pop up to have a link which will a) close the pop up and
> > b) redirect this "semi" parent window to another URL.
>
> So the "parent" window is not available through the "opener" reference?
> Then make it available somehow. The script that opens the window could
> write a reference to the original window into the new window object.
>
> > All the ideas I've seen online have to do with calling back to parent
> > windows, but they don't work for me.
>
> "Don't work" is rather vague.
>
> /L

Site Categories:
• Broadway
• Child Song
• Christian Music
• Classical Music
• Country Music
• Dance
• Gospel Music
• Guitar Music
• Jazz
• Karaoke
• Lyric
• Metal Music
• Music
• Music Download
• Music Video
• New Age
• Rap Music
• Reggae
• Rock
• Wedding Song
• World Music