View Full Version : Modifying the Window
10-22-2007, 07:06 PM
I have this script I use
<form action=http://www.url.net/cgi-bin/mail/subscriber.cgi method="post" target="_new">
Is there a way to set the size of the "_new" window ??
10-22-2007, 07:23 PM
<form … onsubmit="window.open('URL','height=100,width=200')">
10-22-2007, 08:02 PM
That does not work It stills opens in a full window I think do to it being a form that does not work??
Can you post the complete link i need to use as maybe I am doing it wrong
10-22-2007, 08:18 PM
Sorry, forgot the window name…
<form action="" method="get" onsubmit="window.open('http://google.com','windowname','height=100,width=200');">
You can leave the window name value out but you need to include the quotes.
10-22-2007, 08:28 PM
That brings up the signup box
Please go to http://www.cruisevacationcenter.net/mail.html
Just hit send and watches what happens
I think this can not be done BUT maybe
10-22-2007, 08:32 PM
I don’t see the code implemented that I proposed above? And if I add it using my web developer toolbar it does exactly what you want.
Ah, hang on… you want to display the error message if someone is leaving out the address? That would be different then… hang on, need to try it myself.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.