I’ve designed joao.pt to use localScroll for vertical anchor navigation within the same page (hit the Journal, Recently, or Contact buttons on the top left corner of the page to try it out). Although it works on pretty much all browsers and devices, it doesn’t work on Chrome—and not only doesn’t it work when hitting the anchor links I mentioned above, it also doesn’t load the proper section on page load. Here’s the code I’m using (from the pre-minified scripts.js):
$.localScroll.hash({ // scroll to section on page load
hash: true
});
$.localScroll({ // scroll when hitting anchor links
hash: true
});
I just randomly fixed this issue, by literally updating the localScroll and scrollTo libraries. It wasn’t really an update, since it’s been 3 years since they were last updated, but well.. it’s fixed.