![]() |
How to close window and redirect main window?
I have a link that opens a popup window telling users to register before they can listen to the vbradio with a close button on the button of the popup. How can i close the popup window and then redirect the main page to goto /forum/register.php ? i think it requires java? dunno, please help..
|
Try this:
Code:
onclick="opener.document.location.href='/forum/register.php'; window.close();" |
Quote:
|
That was a part of code for onclick event on "close" link. Here is full code:
Code:
<a href="javascript:void(0);" onclick="opener.document.location.href='/forum/register.php'; window.close();">close</a> |
All times are GMT. The time now is 08:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|