Hello There,
Thanks for updating in. Please clear your plugin cache first since you have installed W3 Total Cache. At the moment, this is the JS code loaded in the page:
/* FOR INTERACTIVE TABS FOR FEEDBACK FROM CLIENTS */
(function($){
$('#tabsection .x-container').on('click', '.x-column', function(){
var textshow = $(this).index('#tabsection .x-column');
$('#textsection .x-container').addClass('hidden');
$('#textsection .x-container').eq(textshow).removeClass('hidden');
});
})(jQuery);
/* FOR MENU TO HIDE ON SCROLLING UNTIL SCROLL UP */
jQuery(function($) {
/* Hide header on scroll down */
var didScroll;
var lastScrollTop = 0;
var delta = 5;
var header = $(".hide-scroll-bar.x-bar");
var navbarHeight = header.outerHeight();
var $menuitem = $('.x-anchor.x-anchor-toggle');
$(window).scroll(function(event){
didScroll = true;
});
setInterval(function() {
if (didScroll) {
hasScrolled();
didScroll = false;
}
}, 250);
function hasScrolled() {
var st = $(this).scrollTop();
/* Make sure they scroll more than delta */
if(Math.abs(lastScrollTop - st) <= delta)
return;
/* If they scrolled down and are past the navbar, add class .nav-up.*/
/* This is necessary so you never see what is "behind" the navbar.*/
if (st > lastScrollTop && st > navbarHeight){
/* Scroll Down */
header.removeClass('nav-down').addClass('nav-up');
menuitem.removeClass('x-active')
} else {
/* Scroll Up */
if(st + $(window).height() < $(document).height()) {
header.removeClass('nav-up').addClass('nav-down');
menuitem.removeClass('x-active')
}
}
lastScrollTop = st;
}
});
/* FIXING ONE PAGE NAVIGATION */
jQuery(document).ready(function($) {
var $body = $('body');
var bodyHeight = $body.outerHeight();
var adminbarHeight = $('#wpadminbar').outerHeight();
var navbarFixedTopHeight = $('.x-navbar').outerHeight();
var locHref = location.href;
var locHashIndex = locHref.indexOf('#');
var locHash = locHref.substr(locHashIndex);
var dragging = false;
var $menuitem = $('.x-anchor.x-anchor-toggle');
$body.on('touchmove', function() {
dragging = true;
} );
$body.on('touchstart', function() {
dragging = false;
} );
//
// Calculate the offset height for various elements and remove it from
// the element's top offset so that fixed elements don't cover it up.
//
function animateOffset( element, ms, easing ) {
$('html, body').animate({
scrollTop: $(element).offset().top - adminbarHeight - navbarFixedTopHeight + 1
}, ms, easing);
return false;
}
//
// Page load offset (if necessary).
//
$(window).load(function() {
if ( locHashIndex !== -1 && $(locHash).length ) {
animateOffset(locHash, 1, 'linear');
}
});
//
// Scroll trigger.
//
$('a[href*="#"]').off('touchend click').on('touchend click', function(e) {
console.log($('.hm1.x-bar-fixed').outerHeight());
href = $(this).attr('href');
notComments = href.indexOf('#comments') === -1;
if ( href !== '#' && notComments ) {
var theId = href.split('#').pop();
var $el = $('#' + theId);
if ( $el.length > 0 ) {
e.preventDefault();
if (dragging) {
return;
}
/* Instant, exact jumps */
$('html, body').scrollTop( $el.offset().top );
return false;
}
}
});
});
/* TO MAKE THE MENU DROPDOWN CLOSE AUTOMATICALLY AFTER CLICKING SAME PAGE LINK */
jQuery(document).ready(function($){
$('.x-menu.x-menu-dropdown .x-anchor').on("click touchend", function(event) {
if ($(event.target).attr('class') != "x-anchor-sub-indicator") {
$('.x-anchor-toggle').click();
}
});
});
/* FIXING THE SCROLL BOTTOM ANCHOR */
jQuery(document).ready(function($) {
$('.x-slider-scroll-bottom').off('click');
$('.x-slider-scroll-bottom').on('click touchstart',function(e) {
e.preventDefault();
var $mastheadHeight = $('.x-masthead > .x-bar').outerHeight();
var $curContentBand = $('.x-main');
$('html, body').animate({
scrollTop: $('#home-anchor').offset().top
}, 850, 'xEaseInOutExpo');
});
});
If you already remove the blocks that is no longer need, then there must be an error in the JS code.