Hi all,
Creating my own photography site using Bootstrap, my html and css is ok, I can get by and understand a fair bit, javascript and php are rubbish and the reason for building my sites so I have places to learn.
Instead of me writing my menu out and editing it in each html document, then having to edit everyone each time I add a page, what is the best way of having a single menu file and just importing that into each page?
Would you then use Javascript to find which link is the active one and adjust the menu accordingly so the active page would be highlighted in the menu?
Creating my own photography site using Bootstrap, my html and css is ok, I can get by and understand a fair bit, javascript and php are rubbish and the reason for building my sites so I have places to learn.
Instead of me writing my menu out and editing it in each html document, then having to edit everyone each time I add a page, what is the best way of having a single menu file and just importing that into each page?
Would you then use Javascript to find which link is the active one and adjust the menu accordingly so the active page would be highlighted in the menu?