Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html lang="pl"> <head>
- <title>Dokument HTML</title>
- </head>
- <body>
- <script>
- window.onresize = function(){
- location.reload(); }
- document.writeln("<h2>Szerokość okna: " + window.outerWidth + " px,</h2>");
- document.writeln("<h2>Wysokość okna: " + window.outerHeight + " px.</h2>");
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement