Jump to content

Popup help - is it possible


herghost

Recommended Posts

Hi all,

 

This is what i want to do, but not sure if its possible or if it is how to do it! Basically I have 2 Pages and a ajax popup, accountchoice, accountlogin(popup) and accounthome.

 

What i want to happen is this, when a link is clicked on accountchoice the ajax popup with accountlogin appears, if login is successful then direct to accounthome.php?user=(username). However while this all works the new page appears in the popup box, how would I have it replace/change/update accountchoice with the accounthome page?

 

Many Thanks

Link to comment
https://forums.phpfreaks.com/topic/174002-popup-help-is-it-possible/
Share on other sites

Hi

 

While you could faff around trying to pass details back to the first page and then redirect from there, I would suspect the easiest way would be to use a popup div on the original page for the login. Looks a bit like a pop up page but would just be a pop up element of the current page.

 

All the best

 

Keith

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.