view src/tools/dimensions.html @ 53:cac477dd1f82

convert image and video urls
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 24 Nov 2022 22:54:43 -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>