comparison src/tools/dimensions.html @ 0:8f4df159f06b

start public repo
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 11 Jul 2025 20:57:49 -0600
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:8f4df159f06b
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta name="viewport" content="width=device-width, initial-scale=1">
5 <script>
6 'use strict';
7
8 function p() {
9 document.body.innerText = ''
10 + window.innerWidth + 'px innerWidth\n'
11 + window.innerHeight + 'px innerHeight\n'
12 + '\n'
13 + window.outerWidth + 'px outerWidth\n'
14 + window.outerHeight + 'px outerHeight\n'
15 ;
16 }
17 </script>
18 </head>
19 <body onload="p()" onresize="p()">
20 </body>
21 </html>