SitePoint Enthusiast
CGI frames
just wondering if anyone knows a good way to place an on-the-fly html page (i'm working in perl to generate this)into an html-frameset?
Mlle. Ledoyen
Have one cgi script that prints the HTML for the frames (for example script.cgi) and then link the other pages from that:
e.g. script.cgi?frame=left, script.cgi?frame=main, etc
Sean
Harry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
SitePoint Enthusiast
okay, so i have a script that generates the html for the frames, but i am a little confused about what you mean by linking the pages together from there...?
Mlle. Ledoyen
In the same script check for frame in the query string (I can't remember how to do this in Perl)
If the value is left (script.cgi?frame=left) then display the HTML for the left frame, etc.
Does that help?
Sean
Harry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
SitePoint Enthusiast
super, i've got it now.
thanks for your help.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks