Đã hoàn thành

JavaScript History API - With Correct Page Refresh Function

Dự án này đã kết thúc thành công bởi BaNgan với giá £89 GBP trong 3 ngày.

Nhận tin báo giá cho dự án tương tự
Ngân sách dự án
£20 - £250 GBP
Đã hoàn thành trong
3 ngày
Tổng đặt giá
17
Mô tả dự án

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.

Được hoàn thành bởi:
Các kỹ năng được yêu cầu

Muốn kiếm tiến?

  • Hạn định ngân sách và khung thời gian
  • Mô tả đề xuất của bạn
  • Nhận thanh toán cho công việc của bạn

Thuê những Freelancer đã đặt giá trong dự án này

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