CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
results in a new window

 



darian
Deleted

Apr 12, 2000, 5:10 AM

Post #1 of 3 (595 views)
results in a new window Can't Post

I'm looking to take the results of a pole and have them displayed in a new window. I am not sure how to do this with cgi. I figure I could do this in a javascript just by adding the variables from the form to the url and have the javascript open the window. But what I want to know is there a way to do this with Perl? Without Javascript?


Jasmine
Administrator

Apr 12, 2000, 7:40 AM

Post #2 of 3 (595 views)
Re: results in a new window [In reply to] Can't Post

Simply add a target="_blank" to your <FORM> tag like this:

<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>


<FORM ACTION="whatever.cgi" METHOD=POST TARGET="_blank">
</pre><HR></BLOCKQUOTE>



Cure
User

Apr 12, 2000, 8:03 PM

Post #3 of 3 (595 views)
Re: results in a new window [In reply to] Can't Post

Hi

To make your results pop-up in a little window instead of the original size of the browser.

<FORM onSubmit="cureWindow=window.open('','newwindow','resizable=no,toolbar=no,scrollbars=yes,width=450,height=300')" ACTION="perl.cgi" target="newwindow" METHOD="POST">


Cure

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives