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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:07:43+00:00 2026-06-18T12:07:43+00:00

I implemented ajaxify-html5.js into existing webpage. It uses jQuery, ScrollTo and History.js . Great

  • 0

I implemented ajaxify-html5.js into existing webpage. It uses jQuery, ScrollTo and History.js. Great stuff, works wonderful. Every link like

<a href="category?id=5">Category 5</a>

gets opened in content window, like it should. Whole thing is just one problem away from perfect – when I click on a link that uses fragmentation identifier like this:

<a href="category?id=5#pictures">Category 5 - directly to pics</a>

…URL changes inside address bar like it should, but nothing happens to content. Not even category?id=5 gets loaded.

As far as I can see, this gets fired (from ajaxify-html5.js):

History.pushState(null,title,url);     // url = "category?id=5#pictures"

But statechange doesn’t (from same file):

$window.bind('statechange',function(){

I figured I could sanitize every url (remove #hashtag), then everything would work… except of course getting newly loaded page positioned where <a name="hashtag"></a> is. Unfortunately site relies heavily on these…

My question is: can one even use both ajaxify together with fragmentation identifiers, latter being unaffected by first?

  • 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-18T12:07:44+00:00Added an answer on June 18, 2026 at 12:07 pm

    You can store all <a> tags with internal hrefs like this:
    var tags = jQuery("a[href*='#']");

    After afaxify-html5.js has done its magic, you can restore the original behavior by calling tags.unbind().

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

Sidebar

Related Questions

I implemented sherlockactionbar in my project and it works great, but I don't know
I implemented a simple dialog form using JQuery on GAE. It works perfectly on
I implemented the Facebook registration on my website. Everything works fine except that suddenly
I implemented Adwhirl into my new universal app. And was able to get the
I implemented a zoom on a picture which works just fine. It just wont
I implemented a ActionBarSherlock with a ViewPager and a TabsAdapter. It works well but
I implemented the code to work with a async task and it works perfectly,
I implemented strstr() myself,the code works fine for all strings but when the string
I implemented a download manager, which works fine except that I noted one thing,
I implemented the OnTouchListener for my Layout including every layout/widget in it and I

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.