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

  • Home
  • SEARCH
  • 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 8727489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:26:36+00:00 2026-06-13T08:26:36+00:00

I am making a simple online application. I have a navigation bar with a

  • 0

I am making a simple online application.
I have a navigation bar with a few buttons and one “div” into which all the new contents will be loaded dynamically i.e. when I click “About”, it will load the page parts into the “div” without reloading the whole page with .load() function. The problem is:
what if I need to give a link to the Documents section of my web site, or the user wants to store this kind of link, the url is not rewritten when browsing my site. when the user stores the default link it will always link him to the default “Home” part.

How can I rewrite the URL and what is the most correct way to do this?

  • 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-13T08:26:37+00:00Added an answer on June 13, 2026 at 8:26 am

    As option you can use location.hash.
    E.g. user clicks <a href="#about">About</a>
    and you’re loading the content of your “About” page.
    Also the URL in browser’s address bar will be changed to something like http://mysite.com/hello.jsp#about.

    So now user can copy this URL and visit it.

    Then in $(document).ready() you can check the location.hash, find that '#about' anchor in it and then load an appropriate content.


    Another option is to use Backbone.js or any other JavaScript MVC framework that you like which will help you to build rich client-side application and will handle such things for you.

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

Sidebar

Related Questions

I am making simple one on server side & one on client side application
I'm going through an online lesson , which usually has a very simple one
I am brand new to Cocos2d and have begun making a simple card game.
I am making simple connection between two table - first one called users has
Making a simple application, so when the user logs out of Windows, it of
I'm making a simple URL request with code like this: URL url = new
I am making a simple timer app. I have a uitable with multiple rows.
I have a offlineMapVC and a onlineMapVC for my application to support both online
I am making a simple music playing online app. I would like to make
I have an Owner Drawn List Box in an external application ( America Online

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.