Hi,
I have a login screen, that overlays my main home page as an iframe. I need the following to happen, once a user enters the correct login details, the iframe should close and redirect them to the account page.
My homepage is setup with this code:
The iframe page is using thise code:
This closes the iframe but opens another iframe, so I must be missing some small detail.
Any help be great.
Thanks
I have a login screen, that overlays my main home page as an iframe. I need the following to happen, once a user enters the correct login details, the iframe should close and redirect them to the account page.
My homepage is setup with this code:
PHP:
$(".login").colorbox({transition:"none", width:"60%", height:"80%", iframe:true});
The iframe page is using thise code:
PHP:
<a href='accounts.php' onclick='window.parent.$.colorbox({href:"accounts.php"}); return false;'>Open from parent</a>
This closes the iframe but opens another iframe, so I must be missing some small detail.
Any help be great.
Thanks