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 7763821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:45:19+00:00 2026-06-01T14:45:19+00:00

I have an ajax navigation similar like here . now if a menu is

  • 0

I have an ajax navigation similar like here.

now if a menu is clicked window.location.hash is added like this #about

i want to REmove the hash (#) so that people can easily copy and share the link naturally.

How this can be done in april 2012 without a pagerefresh crossbrowserwise (IE7+,FF,Opera,Safari) ?

For inspiration: Here is actually someone already doing this, click on “portfolio” or “features” and watch the url in your browser.

thanks for tips

  • 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-01T14:45:21+00:00Added an answer on June 1, 2026 at 2:45 pm

    Use the history API when available. Instead of setting the hash (on browsers that support it), go:

    history.pushState({ /* Some state object */ }, "A title representing this state");
    

    Then, handle the state change in a popstate event listener. Doing things this way means the URL won’t change, but history will still be fully functional.

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

Sidebar

Related Questions

I have index page with navigation menu like this man caps shirt jeans woman
I'm developing this website: http://parkoura.tk/a/sandbox/ I am using an ajax navigation. I have a
I have this jQuery ajax navigation tabs plugin that I created using some help
I have a Website, which is Fully Ajax-Based (Hash Navigation). Is there a way
I have an AJAX navigation and I would like to scroll the page to
I have an ajax webapp (JSF 2.0) that uses hash for navigation. I've used
We have an ajax navigation menu which updates a dynamic include. The include files
I have a navigation like this: <div id=melement1 class=mlink data-slink=kultur> <a href=#kultur>Kultur|Bildung</a> </div> This
I have an ajax application that uses hashbanging for navigation and I keep track
I have an Ajax site where I have browser navigation hooked up to ajax

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.