@solution
This might be what you are looking for, Test if it is. Then, this is not ajax. This is just javascript function and event handler. Although ajax can be called with event handler as well. When you click navigation bar, javascript clear everything in section and return new data. The header, navbar, aside, article, footer were not changed. I created that page not to make it professional looking, but to test javascript event handler.