Completed

JavaScript History API - With Correct Page Refresh Function

This project was successfully completed by BaNgan for £89 GBP in 3 days.

Get free quotes for a project like this
Project Budget
£20 - £250 GBP
Completed In
3 days
Total Bids
17
Project Description

Hello I am trying out various things on my localhost.

The following is a 20 minute video showing what I have exactly.

I highly recommend you watch everything without skipping it.

[url removed, login to view]

What I would like is the exact same code the video has (which i already have) but with an additional feature. Unfortunately if you have content being retrieved via AJAX request in this way like the video, it doesn't allow the page to be refreshed (as the page doesn't actually exist - watch the video). If you press the refresh button, it will give an error - with page not found.

So I would like a simple code maybe 4-10 lines of code that i can ADD to the current code (video) to allow page to be refreshed and the person refreshes on the current content it's on.

Please note more page names will be added.

E.g. Current page: localhost/tutorials/historyapi/[url removed, login to view]

If it gets refreshed, the browser tries to look for dogs.php.

However it's not suppose to do that. Instead the content COMES from dogs.php.

You can copy the code from the Video, it will take you a few minutes. very easy and simple coding. Hope I have tried to explain what I am looking for.

Completed by:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online