Reputation: 183
I have a page named Main.cgi where in I have a horizontal menu bar with UserList logs and so on like the Menu above Questions Tags Users etc. Whenever I click the Userlist I get navigated to another page where I have a grid. In this page also I want that Menu bar which was in Main.cgi, and so on. It should get repeated to every page.
Upvotes: 1
Views: 292
Reputation: 69314
You probably want to make the code that created the menu bar into a function in a module that you can load from every CGI program on your web site.
But really, you should be looking at using a templating system to produce all of the HTML for your system.
Upvotes: 1