How to have multiple parts of a website in one page

Posted by stas on Stack Overflow See other posts from Stack Overflow or by stas
Published on 2012-11-25T04:51:54Z Indexed on 2012/11/25 5:03 UTC
Read the original article Hit count: 170

Filed under:
|
|

I want to make a website that will have multiple pages, but because of a unique navigation bar, I cannot simply link to a new file for each page. What is the best way to accomplish this. Some possibilities that I can think of are having all of them on one page, but using css and javascript to move the other pages offscreen, or using iframes and loading them with javascript. Could someone please direct me to some examples or tutorials?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html