Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am wanting to avoid using frames. I am currently using 2 frames. The purpose to keep a menu always present at the top of the page. Is there a server side include that will always generate a page header on the top of every subsequent script. The problem I am having is that if a button is dragged below into the bottom frame, the page is reloaded without using the frameset. Has anyone come across this problem. Thanks people.

Long live perlmonks

Replies are listed 'Best First'.
Re: Frame alternative
by gellyfish (Monsignor) on Oct 29, 2004 at 12:16 UTC
Re: Frame alternative
by xorl (Deacon) on Oct 29, 2004 at 13:20 UTC
    Try using include files. They will allow you to keep a menu on the page by using just one line of code.
Re: Frame alternative
by Anonymous Monk on Oct 29, 2004 at 12:25 UTC
    Other programming languages such as coldfusion can use a universal script (in coldfusion an application.cfm script) which is always run with every script. Their you can place headers, footer and global variables etc. Just wondering if i can use a module or another technique rather than duplicating a lot of code for a menu on each page (eg javascripts for button events etc).