12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Sub view in Merge frame</title>
- <link rel="stylesheet" href="./css/common.css?v=202305271602">
- <style>
- #sub_view {
- transform: scaleY(-1);
- width: 100%;
- height: 100%;
- }
- </style>
- </head>
- <body>
- <canvas id="sub_view"></canvas>
- <script src="./js/common.js?v=202305271652"></script>
- <script>
- var width = parseInt(getQueryString("w"));
- var height = parseInt(getQueryString("h"));
- function getCanvas() {
- return document.getElementById("sub_view");
- }
- function fillSize() {
- var canvas = document.getElementById("sub_view");
- // canvas.width = 640;
- // canvas.height = 360;
- canvas.width = window.innerWidth;
- canvas.height = window.innerHeight;
- }
- </script>
- </body>
- </html>
|