Jump to content

Just Reload Page Content Not Header Or Footer


solution

Recommended Posts

I have designed a website and i am wanting the header and footer to stay on the page and not refresh when a page navigation link is selected on the navigation bar i just want the content to refresh. I have header which contains the header or and footer which contains the footer... Plz hw shld i go about it using html, css nd js. thanks

Edited by solution
Link to comment
Share on other sites

@solution

I have design a website and I am wanting the header and the footer to stay on the page and not refresh when a page navigation link is selected on navigation bar.

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. Edited by Chikwado
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...