static/exact/js/scripts.js
//transform an element (by adding or removing some class)
transform an element (by adding or removing some class)
transform an element ( by adding or removing some class )
function elementTransformClass(elementId, action, thing) {
		var element = document.getElementById(elementId);
		if ('add' == action) {
			element.className += ' ' + thing;
		} else if ('remove' == action) {
			element.className = element.className.replace(thing, ' ');
		}
		element.className = element.className.trim();
	}
function elementTransformClass ( elementId , action , thing ) { var element = document . getElementById ( elementId ) ; if ( 'add' == action ) { element . className += ' ' + thing ; } else if ( 'remove' == action ) { element . className = element . className . replace ( thing , ' ' ) ; } element . className = element . className . trim ( ) ; }
transform an element (by adding or removing some class)
transform an element ( by adding or removing some class )