Hello,
I'm working on a contact form for a client which can be found here: www.northcoastwriters.com/contactus.html When you click the submit button at the bottom, a pop-up shows up to confirm that the e-mail has been received. However my client wants this to pop-up at a certain size width and height. I have the following script in my <head>
And then to make this usable for a simple a href code on a different page, I have:Code:<script type="text/javascript"> function showPopup(url) { newwindow=window.open(url,'name','height=790,width=670,top=10,left=10,resizable'); if (window.focus) {newwindow.focus()} } </script>
And the script in the head causes this to generate at the appropriate size.Code:Help system: <a href="websitedocsimgs/NCWFlareWebHelpSample/FlareWebHelp/NCWFlareSample.htm" target="_blank">Flare Sample</a><br />
However, I want to implement this same script into a contact form, and I'm not exactly sure how to do that. I have the same script in the <head> of the contactus.html page, and I have the submit button to open _blank. It opens as a pop-up, but not at the size I tell it to. What am I doing wrong? Or do you need to see more code to decipher?
I apologize for the somewhat vague descriptions and terms, I'm still a student in web design/development and I'm learning...![]()



Reply With Quote


Bookmarks