I was not so sure about where to post this thread, but considering it regards the visual style of my application, here I am.
The "site" contains fixed stuff, like a complex navigation bar, that is composed by lot of lines of code, that got repeated in each page.
I'd obviously like to avoid code repetitions, both for ease of change (if i'd like to change a voice in my navbar i should change it in all the pages, argh!), so i was thinking to use something to memorize my code and repeat it while loading the page.
I don't really know how to do it, i should declare a function that, if called, loads my snippet but i really don't know how this should be handled!
Thank you very much