Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <script type="text/javascript">
- function view(){
- var url = 'http://kosovo.ohchr.org/repository/docs/2_slo_sample.pdf';
- window.open(url, 'cob', "status=0,toolbar=0,location=0,menubar=0,width=1000,height=800");
- }
- </script>
- </head>
- <body>
- <button onclick="view()">Click me</button>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement