src/main/webapp/js/corpora.js
// Show error at the top of the page.
Show error at the top of the page.
Show error at the top of the page .
function showError(msg) {
		$('#successDiv').hide();
		$('#errorMessage').html(msg).show();
		$('#errorDiv').show();
		$('html, body').animate({
			scrollTop: $('#errorDiv').offset().top - 75 
		}, 500);
	}
function showError ( msg ) { $ ( '#successDiv' ) . hide ( ) ; $ ( '#errorMessage' ) . html ( msg ) . show ( ) ; $ ( '#errorDiv' ) . show ( ) ; $ ( 'html, body' ) . animate ( { scrollTop : $ ( '#errorDiv' ) . offset ( ) . top - 75 } , 500 ) ; }
Show error at the top of the page.
Show error at the top of the page .
// navbar