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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:16:50+00:00 2026-05-26T12:16:50+00:00

I use the History.js to save the current (History can be found here: https://github.com/browserstate/History.js/blob/master/README.md

  • 0

I use the History.js to save the current (History can be found here: https://github.com/browserstate/History.js/blob/master/README.md)

Now it works in all browsers except Internet Explorer. I use IE9, I don’t know if it works on IE10.
Anyway, my URL should look something like this: http://rlb.local/?bereich=3
but in IE it looks like this: http://rlb.local/#http%3A//rlb.local?bereich=3
I have no idea what the reason is that Internet Explorer displays the URL so strangely.

I pass the URL to the pushState-method like this:
History.pushState(null, null, “?bereich=3”);

EDIT: Here is the function that uses this:

function scrollingFunction(page, speedVar){
    $.scrollTo( {top: 0 , left: getPosition(page)} , speedVar, { axis:'xy', easing: 'easeInOut'});
    $('.mainNav').removeClass("active");
    $('#navLink_'+page).addClass("active");
    History.pushState(null,null,"?bereich="+page);
}

The function is used to scroll between different pages. The variable “page” is the current page number like “1”, “2”,”3″, etc. I tried it with the second parameter as a String but this doesn’t work either.

  • 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-26T12:16:51+00:00Added an answer on May 26, 2026 at 12:16 pm

    Not sure whether this is what you want to know: IE9 simply doesn’t support the HTML5 history API. Therefore History.js emulates it using the hash part of the URL.

    If however you’re wondering why your url is not http://rlb.local/#?bereich=3 – no idea there. This should work automatically as History.js tries to use the shortest possible URL according to its website. Maybe it has something to do with your “.local” domain.

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

Sidebar

Related Questions

How can one use Triggers for Logging History of database changes in MySQL? If
I've seen that history.go() method can have two types of parameter: see: http://www.w3schools.com/jsref/met_his_go.asp But
PROBLEM HISTORY: Now I use Windows Media Player SDK 9 to play AVI files
I understand that when I use git pull --rebase , git will re-write history
We all know how to use <ctrl>-R to reverse search through history, but did
How do I delete a commit from my branch history? Should I use git
I have a clear history button which clears the data in plist. Now, loading
I want to use FastScroll for my history list and use dates for sections,
In my JSF web application, I use EclipseLink Descriptor Customizer and History Policy to
While reading a revision history here at stackoverflow I noticed a great usability pattern

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.