Solved

How to give form script answer in a customizable window

Posted on 2004-10-19
2
357 Views
Last Modified: 2010-04-06
Hi:

My Scripts which process forms, normally give confirmation answers in a target=_blank window, as configured at <form> tag, like this:

<form action=/cgi-bin/formscript.cgi target=_blank>

Now, I would like to have this in a window I can customize with specific size, scrolling, etc. How to do this?

Thanks for help.

Mario./
0
Comment
Question by:multisites
2 Comments
 
LVL 35

Expert Comment

by:YZlat
ID: 12347210
<script language="javascript">
            <!--
                  function new_window(url) {
               var iWidth, iHeight
               iWidth = screen.width/2;
               iHeight = screen.height/2;
               //alert(iWidth);
               link = window.open(url,"myWindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=420,height=300,left=0,top=0");
          }
            //-->
            </script>
0
 
LVL 18

Accepted Solution

by:
arantius earned 50 total points
ID: 12347593
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jQuery or Javascript animation question 6 70
Create associate webpages / websites 3 91
Lines Not Lining Up 2 79
Animated .jpg? 13 97
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question