view src/tools/dimensions.html @ 16:bff178656073

delete function
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 06 Jul 2022 22:42:42 -0600
parents 2f20b11affdd
children
line wrap: on
line source

<!doctype html>
<html>
	<head>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<script>
			function p() {
				document.body.innerText = ''
					+ window.innerWidth + 'px innerWidth\n' 
					+ window.innerHeight + 'px innerHeight\n'
					+ '\n'
					+ window.outerWidth + 'px outerWidth\n' 
					+ window.outerHeight + 'px outerHeight\n'
				;
			}
		</script>
	</head>
	<body onload="p()" onresize="p()">
	</body>
</html>