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

Home Forums JavaScript Rethinking Dynamic Page Replacing Content

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #44658

    Hopefully this is a simple question…

    I am trying to use the demo files that came in a past post on this website

    When I view the demo hosted on css-tricks
    I can click on the nav buttons and only the content reloads, not the whole page.

    But when I put files in my dropbox for testing
    It reloads the whole page.

    I am just a beginner at web design so I don’t understand what needs to be done. I notice there is one little php reference in the code

    and I dont have php in dropbox of course. Could this be the problem? I don’t see what the php line does, it doesn’t seem like it does anything to me.


    Well, the name of the PHP “header”, would suggest that some contents at the beginning of the page were expected to arrive via it’s output and may very well be missing from the output for not having been run through PHP’s parser.

    You might want to look and see if you have that PHP file in the collection of materials you got, and it would not hurt to pop it into your text editor as often PHP files while typically for programming (I do a lot of PHP coding) , can be used for simply to add some little twiddle to what otherwise is largely plain old web content.

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