Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9017873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:22:51+00:00 2026-06-16T04:22:51+00:00

How can a page be reloaded with a new URL and the corresponding contents

  • 0

How can a page be reloaded with a new URL and the corresponding contents smoothly, so that the header does not flicker? For instance if on Twitter I click the menu items Home, Connect, Discover, the header stays displayed, no flicker. The only way I know this can be done is using Javascript, but Javascript cannot change URLs. What is the magic behind Twitter’s website?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:22:53+00:00Added an answer on June 16, 2026 at 4:22 am

    They are simply using ajax.

    The header does not flicker because it does not change. The ajax call ask for data, and when it gets it, it inserts it into the body.

    For the body,

    You could use an effects function to fade in the new content if you do not want an abrupt change when it is ajaxed in.

    If you want to load your static data in one upload, you can then flip through static content using the CSS display property.

    You can see that the browser is not loading a new url because there is no indicator.

    Also, you can see the ajax indicator for twitter is running.

    To keep a history of your ajax calls use info. from this post:

    For ajax – Hashes vs HTML 5 History API?

    For Twitter:

    They are using CSS to flip through the page as the ajax indicator and the load indicator do not light up after the initial ajax call.

    You can verify that they are using history by doing window.history.back() in the console.

    To change the URL dynamically see:

    Change the URL in the browser without loading the new page using JavaScript

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to have a page that would contain: hyperlik Add new country.
How can I use Firebug to check data if the page is reloaded (in
I have a textarea element on my page that can be resized in various
I have a textarea html element on my page that gets reloaded via ajax.
Datatable on the page can be filtered by user input. Entered string is received
I need to get one page (can be cURL, or filegetcontent), get some info
On click a image how can another page be previewed in the same page
I'm trying to get the source of an internal domain page can have it
I have two related tables in my database: Page and Tag. One Page can
I have a cancel button on a page. But this page can be opened

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.