jQuery(function($){ $(document).ready(function(e){ $('html,body').animate({ scrollTop: $('#' + location.href.split("#").slice(-1)[0] ).offset().top - $('.x-navbar').height() },700 ,'swing'); }); });

Start a Conversation