UncleRon, Javascript is the way to do this. It is pretty easy, add something like this to your html code onClick="window.open('http://yoursite.com/script.pl?workorder=yes&cust
+omer=0876','mywindow','width=400,height=200')"
You can pass information to your script using valu pairs in the url like above. As far as I am aware, there is no server side way to do this, you have to use a client side scripting technology such as javascript. You can get more information on that javascript here if you are interested. Regards, Gerard | [reply] [d/l] |
If you know users are using newer browsers, you could use CSS and Z Index properties and keep everything in one window.
Basically, however you do it, it will require JavaScript that you will need to generate from your CGI script.
.02
cLive ;-)
| [reply] |
Even easier than Javascript... even easier than Perl... set the the target attribute in your anchor tags:
Click <A HREF="./cgi-bin/worders.pl" target="newwindow">here</A> for work order.
Of course, the user does have to click on the anchor for this to work.
Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"
| [reply] [d/l] [select] |
Hi, UncleRon
There seem to be a few nodes about this... if your site uses Perl to create the work orders and stuff then just have it send the JavaScript to the browser, too.
Search Perlmonks
| [reply] |