Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Opening a sizeable window with a

by raestane (Initiate)
on Nov 15, 2001 at 01:27 UTC ( #125426=perlquestion: print w/replies, xml ) Need Help??

raestane has asked for the wisdom of the Perl Monks concerning the following question:

I've got a form that I would like to "POST" using a .pl script that I use to parse the info and return an error or return valid.

My question is this: Is there a way that I can tell either the HTML or the PERL script to size the window and manipulate some of the windows, menu=no, width=500, length=500... ??

Also, I'd love to be able to stay away from Javascript if that's possible, as not everyone has that option.

Could this question be answered elsewhere, if so, where?



Replies are listed 'Best First'.
Re: Opening a sizeable window with a
by jclovs (Sexton) on Nov 15, 2001 at 01:59 UTC
    Okay, in short no. Not without JavaScript. I'm sorry but that is the only path of which you can follow, unless my experience treats me wrong.
    So, try this in you form:
    <script> <!-- function openNew() {"","new","width=500, height=500, menubar=0"); } //--> </script> <form target="new" action="" method="p +ost" onSubmit="openNew()"> ... </form>

    P.S. if they don't have JavaScript support there is no reason to consider being able to do such an activity to their window.
Re: Opening a sizeable window with a
by belg4mit (Prior) on Nov 15, 2001 at 03:48 UTC
    No. Well unless the user happens to be running IE, and they happen to have ActiveState Perl installed and they happen to have installed ActiveX component which the really oughtn't have done. And even then I'm not sure it could be done. So no, no way to do this with Perl. --
    perl -p -e "s/(?:\w);([st])/'\$1/mg"

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://125426]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2023-09-28 20:31 GMT
Find Nodes?
    Voting Booth?

    No recent polls found