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