Hi,
If you want to disable smooth scrolling, please edit your gk_quark/js/gk.scripts.js file and remove the following fragment:
// smooth anchor scrolling
if(
!(
jQuery('#gkMainbody').find('.subpage').length &&
jQuery('#gkMainbody').find('.subpage').hasClass('edit')
) && !(
jQuery('#modules-form').length
)
) {
jQuery('a[href*="#"]').on('click', function (e) {
e.preventDefault();
if(
this.hash !== '' &&
this.hash.indexOf('carousel') === -1 &&
this.hash.indexOf('advancedSearch') === -1
) {
var target = jQuery(this.hash);
if(this.hash !== '' && this.href.replace(this.hash, '') == window.location.href.replace(window.location.hash, '')) {
if(target.length && this.hash !== '#') {
jQuery('html, body').stop().animate({
'scrollTop': target.offset().top
}, 1000, 'swing', function () {
if(this.hash !== '#') {
window.location.hash = target.selector;
}
});
} else if(this.hash !== '' && this.href.replace(this.hash, '') !== '') {
window.location.href = this.href;
}
} else if(this.hash !== '' && this.href.replace(this.hash, '') !== '') {
window.location.href = this.href;
}
}
});
}
Cheers
Joshua