A2xA Posted January 28, 2008 Share Posted January 28, 2008 I want a user to type in the form their hub ID. Then a window pops up with the desired url. ie: The user types in the $hubid. Then http://wiicharged.com/hubchat/$hubid/chat.html I know how to do this without the pop-up. I just don't know how to incorpirate this with <a href="http://www.yourweblog.com/yourfile.html" onclick="window.open('http://www.yourweblog.com/yourfile.html','popup','width=500,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">About</a> Thanks! After this is answered then my system will be done! Quote Link to comment https://forums.phpfreaks.com/topic/88132-how-to-make-a-pop-up-window-from-a-form/ Share on other sites More sharing options...
pocobueno1388 Posted January 28, 2008 Share Posted January 28, 2008 Try this <?php echo "<a href='http://www.yourweblog.com/yourfile.html' onclick='window.open('http://wiicharged.com/hubchat/$hubid/chat.html','popup','width=500,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false'>About</a>"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/88132-how-to-make-a-pop-up-window-from-a-form/#findComment-450932 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.