PC Review


Reply
Thread Tools Rate Thread

How Do I direct a popup window back to the parent window?

 
 
=?Utf-8?B?bWg1M2pfZmU=?=
Guest
Posts: n/a
 
      5th Feb 2006
I have a website where onload of the home page, a small window pops up to
tell the audience about an event that is scheduled for March. At the bottom
of the window, I tell the user to click here to learn more.

Onclick of the hyperlink, I want to do the following:
1. Close popup window.
2. Go back to the parent window and redirect to a new page.

How can I do that?
Thanks to all for your help!
Regards,
Dave
 
Reply With Quote
 
 
 
 
MD Websunlimited
Guest
Posts: n/a
 
      5th Feb 2006
Hi,

What your asking for specifically is possible but beyond the scope of this NG but you can emulate it by using the popup (child) to:

1. Load a new page into the parent
2. Give focus to the parent
3. Close the popup

<button unclick="window.opener.location.her='http://www.Microsoft.com'; window.opener.focus(); window.close();"> Click me </button>


--
Mike -- FrontPage MVP '97 - '02
http://www.websunlimited.com
FrontPage Add-in





"mh53j_fe" <(E-Mail Removed)> wrote in message news:5B0F7727-ED56-42BD-BE7E-(E-Mail Removed)...
>I have a website where onload of the home page, a small window pops up to
> tell the audience about an event that is scheduled for March. At the bottom
> of the window, I tell the user to click here to learn more.
>
> Onclick of the hyperlink, I want to do the following:
> 1. Close popup window.
> 2. Go back to the parent window and redirect to a new page.
>
> How can I do that?
> Thanks to all for your help!
> Regards,
> Dave



 
Reply With Quote
 
Bob Lehmann
Guest
Posts: n/a
 
      5th Feb 2006
>> I have a website where onload of the home page, a small window pops up
I bet it doesn't pop up in my browsers.

With alot of people using popup blockers, you might want to rethink this.

Bob Lehmann

"mh53j_fe" <(E-Mail Removed)> wrote in message
news:5B0F7727-ED56-42BD-BE7E-(E-Mail Removed)...
> I have a website where onload of the home page, a small window pops up to
> tell the audience about an event that is scheduled for March. At the

bottom
> of the window, I tell the user to click here to learn more.
>
> Onclick of the hyperlink, I want to do the following:
> 1. Close popup window.
> 2. Go back to the parent window and redirect to a new page.
>
> How can I do that?
> Thanks to all for your help!
> Regards,
> Dave



 
Reply With Quote
 
Windsun
Guest
Posts: n/a
 
      6th Feb 2006
Supposedly around 90% block popups...

-------------------------------------------------------------------------
"Bob Lehmann" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>>> I have a website where onload of the home page, a small window pops up

> I bet it doesn't pop up in my browsers.
>
> With alot of people using popup blockers, you might want to rethink this.
>
> Bob Lehmann



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
populate value from popup window to grid in parent window Harsha Microsoft ASP .NET 0 5th Nov 2009 05:13 AM
Send Info From PopUp Window To Parent Window chuckdfoster Microsoft ASP .NET 1 6th Dec 2005 08:00 PM
Solution: Raising an Event Handler Postback on Parent Window From Popup Child Window Dialog Box Earl Teigrob Microsoft ASP .NET 1 16th Jun 2004 05:19 PM
Popup window to raise event in parent window...can it be done??? Earl Teigrob Microsoft ASP .NET 4 5th Jun 2004 12:47 AM
Can a child window post information back to the parent window? Mike Microsoft Frontpage 1 13th Jan 2004 08:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:00 AM.