Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
- <title></title>
- <style type="text/css" media="screen">
- html, body{height:100%; font-family:Arial, Helvetica, sans-serif;}
- </style>
- <script type="text/javascript">
- //Replace this with the resource URL to open. It can be a relative URL or an absolute URL
- var resource = "index.htm";
- function onLoad() {
- //Full screen Popup Window parameters. Defaults to the full screen of the user.
- //Replace screen.width/height with a pixel value for the size you want
- var params = 'width=' + screen.width;
- params += ', height=' + screen.height;
- //If you want full screen leave these two lines uncommented
- params += ', top=0, left=0';
- params += ', fullscreen=yes';
- //Pops open a new window with the specified URL inside it. It can be a
- //relative or absolute URL
- fullWindow = window.open(resource,'fullWindow',params);
- if (window.focus) {
- fullWindow.focus();
- }
- return;
- }
- </script>
- </head>
- <body onload="onLoad();">
- <h1>This resource needs to open a popup window.</h1>
- <div>
- <a href="javascript:onLoad();">Click here if you don't see the resource launch.</a>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement