in reply to Re: CGI frames -- HELP
in thread CGI frames -- HELP

dws, can you give me an example of this. I have tried placing a function in as frame (FRAME SRC=$test NAME=&makerightframe)....but it doesn't seem to work. I would rather not have to generate 2 files then point to them.... what is the alternative. Thanks so much for your help. dave

Replies are listed 'Best First'.
Re: Re: Re: CGI frames -- HELP
by dws (Chancellor) on May 02, 2001 at 09:57 UTC
    Using this code for starters, I would flesh out the fragment that generates the left-hand frame, and arrange to emit URLs that look something like <a href="$ENV{'SCRIPT_NAME'}?url=$url" target=_top> You'll need to URL-encode the URL, but there's a routine in CGI.pm that will do that for you.

    Then, to pass the parameters along, I'd extend the fragment that generates the frameset to add some or all of the parameters to the SRC= attributes for the frames.

    I don't want to spoil your fun by providing a complete solution. Let me know if you need more.