in reply to Re: Displaying cgi-tmpl file in new window
in thread Displaying cgi-tmpl file in new window

I tried all suggested solutions-each of them has it's own problem. I am posting the summary here-in the hope that someone can help me get one of them working:

1. Specify target="_blank" in anchor tag-
No page is displayed-cgi script does not get called.

2. Specify target="_blank" in <form> tag-
Seems to be my best option so far-displays in a new window but I cannot customize the window.

3. Call openWindow function. In openWindow function:
pageURL = eval("http:\/\/127.0.0.1\/cgi-bin\/prepareDispatch.cgi?subNu +mber="+subNo+"&whichForm=Dispatch"); popupwin = window.open(pageURL,'','toolbar=no,scrollbars=yes,location= +no,width=' + 800 + ',height=' + 650); popupwin.focus();
In the above code, pageURL is returned as undefined. The eval function is fine-I checked that on a website but pageURL is not initialized to whatever the eval function returns. So far, the second option seems to be working except that I'd like to take this one step further and customize the target window-for which I need to get pageURL above initialized. Comments? Thanks!

Replies are listed 'Best First'.
Re^3: Displaying cgi-tmpl file in new window
by wfsp (Abbot) on Jul 09, 2004 at 16:46 UTC
    See the update to my reply above.
    wfsp
      Accept my apologies-I stopped checking devshed when I did not get a reply for like a week after my original post (and 2 days after the reminder). Guess that was the wrong thing to do. Thanks for your help-I'll come back with the result :-) or more problems :-(
      Update:Problem solved. Thanks!