Hi, thanks for your quick response, was pretty surprised actually. Much appreciated.
Ok, so I deleted the function as you mentioned above, but the contact form still shakes, and still has the red background thing.
FYI I deleted this whole section:
function shakeError() {
old_bg=jQuery(parent_div).css(“background-color”);
jQuery(parent_div).effect( “shake”, {}, 500 ).css(“background-color”,”#FF8F8B”).animate({backgroundColor: old_bg}, {duration: 500, queue: false });
}
function animateBodyToError() {
jQuery(‘html’).animate({
scrollTop: element_offset – (element_height + 40)
}, 500, function() {
document.scrollingElement.scrollTop = element_offset – (element_height + 40); /* For Safari.*/
jQuery(window).off(“scroll”, scrollChecker);
shakeError();
});
}
if ( scrollTop > element_offset ) {
animateBodyToError();
} else {
shakeError();
}
}
I did however manage to stop the shake, but I did it by editing this file:
/public_html/wp-includes/js/jquery/ui/effect-shake.min.js after doing a folder search for ‘shake’
Any ideas?
Thanks heaps