I have a menu that wants to change only the content.
I wanted a separate files for different pages to organize.
I could save menu in a separate php file and include that in the main page.
Still seems a bit repetitive when there are more than 10 menus.
I know there is an anchor tag navigation that updates content part with jQuery.
But I kinda don’t like that # tag in the address bar for some reason (or shouldn’t I?)
Is there a better way to manage this?
I don’t think that to add just one line with include into each file is indeed such a repetitive task. 99% of local folks a way more repetitive in thir code.
However, if you want something more intelligent, you can create one program file contains menu, and many data files, shown according to user choice
here is a very simple example