Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <title></title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <script type="text/javascript">
- window.onload = function () {
- if (window.parent != window) {
- var x = Math.max(document.documentElement['clientWidth'], document.body['scrollWidth'], document.documentElement['scrollWidth'], document.body['offsetWidth'], document.documentElement['offsetWidth']),
- y = Math.max(document.documentElement['clientHeight'], document.body['scrollHeight'], document.documentElement['scrollHeight'], document.body['offsetHeight'], document.documentElement['offsetHeight']);
- window.parent.upravaVelikosti(x, y);
- }
- }
- </script>
- <style type="text/css">
- html, body, p, div {padding: 0px; margin: 0px;}
- </style>
- </head>
- <body>
- <div style="width: 500px; height: 500px; background-color: lavender;">
- <p>vnitřní stránka</p>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement