localhost Posted July 14, 2006 Share Posted July 14, 2006 I wanna make a pop up window on this form, i want it to contain a php file. can someone tell me how to do this?here is a snippet of my code:[code]<br> Security Number: <input type="text" name="ccsecure"> <span class="style4">What is this?</span><Br>Card Type: <select name="cctype"><option>Visa</option><option>Mastercard</option><option>Discover</option><option>American Express</option></select>[/code]I want the "What is this?" to link to open a small javascript window that contains sc.php.Thanks! Link to comment https://forums.phpfreaks.com/topic/14566-pop-up-window/ Share on other sites More sharing options...
nogray Posted July 14, 2006 Share Posted July 14, 2006 you can do something like this[code]<a href="#" onclick="window.open('sc.php'); return false;">What is this?</a>[/code] Link to comment https://forums.phpfreaks.com/topic/14566-pop-up-window/#findComment-58006 Share on other sites More sharing options...
crazysaint Posted July 21, 2006 Share Posted July 21, 2006 i was having the same dilemma but the code above has helpred,i would now like to know the code to generate a pop up window with the address bar inactive. Link to comment https://forums.phpfreaks.com/topic/14566-pop-up-window/#findComment-61537 Share on other sites More sharing options...
nogray Posted July 21, 2006 Share Posted July 21, 2006 check this page for full details on opening a windowhttp://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/open_0.asp Link to comment https://forums.phpfreaks.com/topic/14566-pop-up-window/#findComment-61717 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.