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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetURL and Close Window in popup 1

Status
Not open for further replies.

phej

Technical User
Feb 8, 2005
22
US
We have a flash tour of one of client's sites that will live in a popup window opened by the user's click.

After the tour finishes the client wants the popup to close and the user redirected back to the site's homepage.

I'm using two GetURLs at the moment: one to take the user to the homepage (with a target) and the second to close the window. Unfortunately flash is only seeing the first one.

Is this possible?
 
You could just try closing the popup, and use an onUnload event within the popup's body tag to redirect the main browser window, change it's location or whatever.

Regards. Affiliate Program - Web Hosting - Web Design
After 25,000 posts, banned on FK, but proud not to have bowed down to them!
 
That is so simple, it just might work!

Thanks oldnewbie, I knew there was an easy way around it and that the answer was just eluding my brain.
 
hmm...

I tried onUnload, but that opens a new window, which I sort of expected. I don't want a new window, I just want the parent to be forwarded to a new page once the popup is closed.

Is this possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top