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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:11:44+00:00 2026-05-31T19:11:44+00:00

Short question: I’m trying to make that in a given page (uses tabs) back

  • 0

Short question:

I’m trying to make that in a given page (uses tabs) back button doesn’t change page URL (history). It is, I need when user press back button the tab changes, but not the URL displayed. How can I do that with the Address plugin?

Long question:

In addition to the explained above, I have to say I’m using the address plugin like this:

$.address.strict(false);
$.address.externalChange(function(e) {
    changePageFunction(e.value);
});

Inside this changePageFunction() I’m setting $.address.title(the_title); and $.address.value(the_value);. What I’ve tried is to change the direct call to changePageFunction() by something like this:

$.address.externalChange(function(e) {
    if (!isTabsPage) {
        changePageFunction(e.value);
    } else {
        changeTab();
    }
});

This works, but URL displayed is changed (goes back one position for each back button pressed).

I cannot:

  • add a different URL to each tab (like in $.address samples)
  • change address plugin for other similar
  • change current paging system (a bit complex)

The idea is that if isTabsPage is true then the changeTab() function will work, if not, the current method will work ($.address history managed)

Is there any way to freeze the history?

  • 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-05-31T19:11:45+00:00Added an answer on May 31, 2026 at 7:11 pm

    HTML5 has a native history object to handle this. You’ll need to use its pushState function as the user changes tabs and handle its popState event when the user navigates forwards/backwards. There is a wonderful polyfill for older browsers by @balupton here.

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

Sidebar

Related Questions

a short question about optional regex : imagine a given page thats currently rewritten/beautified
Short question: Is the parent of an entity group included in that entity group
The short question, is there an off the self function to make a graph
This is a short question. At some point my thread understand that it should
I have a short question. Im my current project I'm using LINQ-to-SQl. That is
Short Question I have a loop that runs 180,000 times. At the end of
Short question: How many elements can be in a list to make a linear
Short question: is there a way to make a jsonp request to a server,
Short question: If I have class that impelemnts FactoryBean interface, how can I get
Short Question: Basically I am trying to add a scalar property to my entity

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.