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.
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.
精彩评论