Give help. Get help.

  • # May 9, 2013 at 12:24 pm

    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

    < ?php include('../header.php'); ?>

    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.

    # May 11, 2013 at 1:37 am

    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)

You must be logged in to reply to this topic.