deep.js
// Handler for mouse wheel. Negative delta is away from user, positive is close to user.

Handler for mouse wheel. Negative delta is away from user, positive is close to user.
Handler for mouse wheel . Negative delta is away from user positive is close to user .
function OnMouseWheel(e)
{
	e.preventDefault();
	if (e.deltaY < 0)
	{
		NewZoomFctr = Zoom_Fctr * 1.05;
	}
	else if (e.deltaY > 0)
	{
		NewZoomFctr = Zoom_Fctr / 1.05;
	}
}
function OnMouseWheel ( e ) { e . preventDefault ( ) ; if ( e . deltaY < 0 ) { NewZoomFctr = Zoom_Fctr * 1.05 ; } else if ( e . deltaY > 0 ) { NewZoomFctr = Zoom_Fctr / 1.05 ; } }
Handler for mouse wheel.
Handler for mouse wheel .