Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popup that redirects the 'Parent' window

Status
Not open for further replies.

iaresean

Programmer
Mar 24, 2003
570
ZA
Hi All;

I am trying to create a page that calls a popup window when the user clicks 'register'. This popup then asks the user for his/her age and gives them a warning about entering site (don't worry, it ain't the kind of site you are thinking).

That is the easy part. If the user then enters an old enough age and states that they are not lying I would like the popup window to close and redirect the calling page to the proper registration section.

Is this at all possible? I guessed that Javascript would be the way to go.

I would greatly appreciate any code to guide me.

Thanks for any and all help!


Sean. [peace]
 
Yes, you can probably use something along the lines of the "window.opener.document.location.href" property.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top