view website/src/fschmidt/dimensions.html @ 1717:c637a2a1023d

add String.replace
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 25 Jul 2022 11:16:53 -0600
parents fad40fe3282d
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>