Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Load Content Area Without Page Refresh

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #204171
    svoltmer
    Participant

    I have some JavaScript to change the hash on a page and load it into a div without actually refreshing the webpage, but since the content coming into the first page doesn’t contain the header, main navigation or the footer, it is not getting the height for the content area on the first page the correct height. Here is the link to my page:

    http://www.rose-hulman.edu/testing/projects.html

    go to the bottom and click the “More Projects” to see it working.

    #204181
    svoltmer
    Participant

    I’ve had to disable the page-wrap to get it to work properly, but the back button never re-loads the previous content into the page. Any Ideas?

    #204349
    svoltmer
    Participant

    Thanks Shane!
    Would it be better to do something simple like using a jQuery load()?

    $(‘.someClass’).load(‘/newContent.html’);

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.