view src/tools/dimensions.html @ 47:7ef9222474e2

add more button
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 14 Nov 2022 23:01:29 -0700
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>