Re: CGI and frames

2002-05-14 Thread Todd Wade
"Sven Bentlage" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... make the src attribute read something like: "path/to/file?section=topFrame" and "path/to/file?section=mainFrame or whatever. Then have the cgi program call those subs based on the value of

RE: CGI and frames

2002-05-14 Thread David Gray
> I would like to create a html frameset plus the pages for the > frameset. You can't do that in one cgi script unless you call it multiple times like I showed you. > Normally a frameset looks (as you all know) somewhat like that: > >framespacing="0"> > scrolling="NO" noresize

Re: CGI and frames

2002-05-14 Thread Sven Bentlage
I would like to create a html frameset plus the pages for the frameset. In the top frame should go the menu (which is now displayed in a table at the top of the page), below that the pages the user creates by clicking on the button. Until now I have not found out how to fill the frameset with

Re: CGI and frames

2002-05-14 Thread John Brooking
Okay, I understand now. I guess you *could* do it with "one script", although as someone else noted, it is basically separate scripts, called once per page, that just happen to be stored in the same file. Whether you store it in one script or separate is immaterial, IMHO. So, now that we understa

RE: CGI and frames

2002-05-14 Thread David Gray
> Sorry, I chose the wrong words.. > my script works similar to the way you described below. Depending on > which fields are filled out and which button is pressed, a different > subroutine is called, creating the page. Ok... Could you post some code or pseudocode that describes the problem you

Re: CGI and frames

2002-05-14 Thread Sven Bentlage
Sorry, I chose the wrong words.. my script works similar to the way you described below. Depending on which fields are filled out and which button is pressed, a different subroutine is called, creating the page. On Wednesday, May 15, 2002, at 12:01 AM, David Gray wrote: >> I'm using one CGI s

RE: CGI and frames

2002-05-14 Thread David Gray
> I'm using one CGI script to generate several search pages That's impossible. One call to a cgi script can generate only one page. Consider the following untested ;) (but simple enough that I probably didn't screw it up) code: --code-- #!/usr/bin/perl -w use strict; use CGI; my $cgi = new

Re: CGI and frames

2002-05-13 Thread Sven Bentlage
Sorry,here are the details: I'm using one CGI script to generate several search pages (search for people etc) within a secured area. I would like to put the navigation sub into one frame, the retrieved data (sub search1,2...)in another frame. But I do not want to use an extra script for this.

Re: CGI and frames

2002-05-13 Thread John Brooking
If you mean can a CGI script output both the frameset and all of its pages simultaneously, I don't see how. What you can do is have each frame call a CGI script for its content, and have another to generate the frameset. Each script then outputs its own HTML as normal. If this doesn't address you

CGI and frames

2002-05-13 Thread Sven Bentlage
Hi ! Right now I'm using a cgi-script to create a few html pages. Somewhere I read the I also can create framesets plus the dependent html pages via a CGI script. Where can I find a manual on how to do that? Or can anybody tell me? Thanks for your help. Sven -- To unsubscribe, e-mail: [EM