On 2014-10-29 Jirka Kosek wrote:
On 27.10.2014 19:04, Jan Tosovsky wrote:
This seems to be caused by the following script located in the
main.js file:
var hash = window.location.hash;
if (hash) {
var targetOffset = $(hash).offset().top - 120;
$('html,body').animate({scrollTop:
On 10/27/14, 1:04 PM, Jan Tosovsky wrote:
...
While target offset is -195 in FF, it is 2200 in Chrome. The required anchor
is not scrolled precisely to its location, but ca 300 px towards the bottom.
However, on page reload it is sometimes correct, sometimes more or less than
the initial
Dear All,
I've noticed incorrect scrolling the page in Chrome when the URL contains a
hash character.
This seems to be caused by the following script located in the main.js file:
var hash = window.location.hash;
if (hash) {
var targetOffset = $(hash).offset().top - 120;